Browse Source

style tweaks

fix-133-memory-crash
Dan Janosik 7 years ago
parent
commit
fec3e107c1
  1. 4
      views/layout.pug

4
views/layout.pug

@ -41,7 +41,7 @@ html
div(class="dropdown-menu", aria-labelledby="navbarDropdown") div(class="dropdown-menu", aria-labelledby="navbarDropdown")
each item in env.headerDropdownLinks.links each item in env.headerDropdownLinks.links
a(class="dropdown-item", href=item.url) a(class="dropdown-item", href=item.url)
img(src=item.imgUrl, style="width: 24px; height: 24px;") img(src=item.imgUrl, style="width: 24px; height: 24px; margin-right: 8px;")
span #{item.name} span #{item.name}
li(class="nav-item dropdown") li(class="nav-item dropdown")
@ -83,7 +83,7 @@ html
div(class="container") div(class="container")
if (userMessage) if (userMessage)
div(class="alert", class=(userMessageType ? ("alert-" + userMessageType) : "alert-info"), role="alert") div(class="alert", class=(userMessageType ? ("alert-" + userMessageType) : "alert-warning"), role="alert")
span !{userMessage} span !{userMessage}
block content block content

Loading…
Cancel
Save