fix: use mobile header layout until desktop breakpoint
This commit is contained in:
committed by
Michael Zetterberg
parent
e92b6cc27d
commit
f2a467af0d
@@ -234,10 +234,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.buttonContainer {
|
.buttonContainer {
|
||||||
/*display: flex;*/
|
|
||||||
/*justify-content: flex-end;*/
|
|
||||||
/*align-items: center;*/
|
|
||||||
/*margin-right: 8px;*/
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -245,13 +241,32 @@
|
|||||||
gap: var(--Spacing-x3);
|
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 {
|
.mainMenu {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background-color: hsla(0, 0%, 100%, 0.95);
|
background-color: hsla(0, 0%, 100%, 0.95);
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: unset;
|
z-index: unset;
|
||||||
height: 85.09px;
|
height: 82.4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
@@ -263,37 +278,21 @@
|
|||||||
background-color: transparent;
|
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 {
|
.expanderBtn {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logoLink {
|
|
||||||
display: flex;
|
|
||||||
height: 100%;
|
|
||||||
padding: 30px 10px 30px 15px;
|
|
||||||
width: auto;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
width: 102.17px;
|
width: 102.17px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-bottom: 4px; /* TODO: Needed? */
|
padding-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.listWrapper {
|
.listWrapper {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-bottom: 0;
|
padding-top: 0;
|
||||||
position: static;
|
position: static;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -344,24 +343,3 @@
|
|||||||
display: none;
|
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 950px) {
|
@media screen and (min-width: 1200px) {
|
||||||
.navigationMenu {
|
.navigationMenu {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user