fix: use mobile header layout until desktop breakpoint

This commit is contained in:
Chuma McPhoy
2024-06-19 09:08:37 +02:00
committed by Michael Zetterberg
parent e92b6cc27d
commit f2a467af0d
2 changed files with 24 additions and 46 deletions

View File

@@ -234,10 +234,6 @@
}
.buttonContainer {
/*display: flex;*/
/*justify-content: flex-end;*/
/*align-items: center;*/
/*margin-right: 8px;*/
display: inline-flex;
justify-content: flex-end;
align-items: center;
@@ -245,13 +241,32 @@
gap: var(--Spacing-x3);
}
@media screen and (min-width: 950px) {
@media (min-width: 1200px) {
.navBar {
grid-template-columns: 140px auto 1fr;
height: 82.4px;
align-content: center;
padding: 0px 0px var(--Spacing-x-quarter) 0px;
overflow: hidden;
}
.logoLink {
display: inline-block;
width: 100%;
padding: 27px 30px 26px 0;
text-align: center;
align-items: center;
}
.listWrapper {
}
.mainMenu {
box-shadow: none;
background-color: hsla(0, 0%, 100%, 0.95);
position: relative;
z-index: unset;
height: 85.09px;
height: 82.4px;
}
.container {
@@ -263,37 +278,21 @@
background-color: transparent;
}
.navBar {
grid-template-columns: 132.18px 1fr auto;
align-content: center;
/*padding-bottom: 2px;*/
padding: 0px 0px var(--Spacing-x-quarter) 0px;
overflow: hidden;
}
.expanderBtn {
display: none;
}
.logoLink {
display: flex;
height: 100%;
padding: 30px 10px 30px 15px;
width: auto;
align-items: center;
}
.logo {
width: 102.17px;
height: 100%;
padding-bottom: 4px; /* TODO: Needed? */
padding-bottom: 4px;
}
.listWrapper {
border-top: none;
display: flex;
align-items: center;
padding-bottom: 0;
padding-top: 0;
position: static;
width: 100%;
}
@@ -344,24 +343,3 @@
display: none;
}
}
@media (min-width: 1200px) {
.mainMenu {
height: 82.4px;
}
.navBar {
grid-template-columns: 140px auto 1fr;
height: 82.4px;
}
.logoLink {
display: inline-block;
width: 100%;
padding: 27px 30px 26px 0;
text-align: center;
}
.listWrapper {
padding-top: 0;
}
}

View File

@@ -44,7 +44,7 @@
list-style: none;
}
@media screen and (min-width: 950px) {
@media screen and (min-width: 1200px) {
.navigationMenu {
display: none;
}