Skip to content

Commit

Permalink
Align the "logo" at the top.
Browse files Browse the repository at this point in the history
This is visible on smaller screens (more specifically, when the links on
the right of the nav bar start wrapping and go to multiple lines, the
logo now stays at the top, instead of being vertically centered on the
nav bar).
  • Loading branch information
noteed committed Jul 23, 2024
1 parent ff85980 commit 061da3c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions content/layout/page.slab
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ frag page
body.u-container-vertical
header
.u-container
.u-bar
.u-bar.u-bar--top-aligned
.u-bar__left
style.
.a-logo { color: black; text-decoration: none; }
a.a-logo(href="/")
div
span.logo Slab
.menu-item-height
a.a-logo(href="/")
div
span.logo Slab
.u-bar__right
ul
li
Expand Down

0 comments on commit 061da3c

Please sign in to comment.