Layout mobile navbar nicely with Flexbox (#1497)

Before hamburger menu was floated to the right with a fixed margin-top,
which means that it probably wasn't perfectly centered and if we would
change logo image size, we would have to edit that margin manually.
This commit is contained in:
Dawid Potocki
2019-11-17 07:46:29 +00:00
committed by Jonah Aragon
parent ec9f97f043
commit d527ccd8f5
2 changed files with 11 additions and 12 deletions

View File

@ -340,8 +340,7 @@ input#nav-toggle,
input#nav-toggle + label {
display: block;
cursor: pointer;
margin-top: 0.25rem;
float: right;
margin-bottom: 0;
}
.nav-dropdown {
display: block;