fix menu alignment, flex grow property #24

This commit is contained in:
Jonas Heinrich 2020-04-19 11:53:18 +02:00
parent 98714265b1
commit 71435d6890
2 changed files with 7 additions and 3 deletions

View file

@ -43,7 +43,7 @@ header .header-logo-container {
padding: 0.22222rem 0;
color: #333333;
line-height: 1;
flex-grow: 1;
flex-grow: 0;
}
header .header-logo-container::after {
@ -54,6 +54,10 @@ header .header-button-container {
margin-left: 3.33333rem;
}
header nav {
flex-grow: 1;
}
header:not(.sticky-header) nav {
margin-top: 3.11111rem;
}

View file

@ -18,8 +18,8 @@ nav > ul {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-start;
justify-content: flex-start;
align-items: flex-end;
justify-content: flex-end;
}
nav > ul > li {