fix mobile hamburger menu positioning and layout
All checks were successful
CI / update (push) Successful in 1m11s
All checks were successful
CI / update (push) Successful in 1m11s
Improve profile picture and navigation alignment on mobile: - Position UserHeader fixed 2rem from viewport bottom (avoids browser UI issues) - Center UserHeader horizontally within hamburger menu - Add 2rem margin to links wrapper for better spacing - Align navigation items to flex-start for left alignment
This commit is contained in:
@@ -250,9 +250,15 @@ footer{
|
|||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav_site .links-wrapper {
|
||||||
|
align-self: flex-start;
|
||||||
|
width: 100%;
|
||||||
|
margin: 2rem;
|
||||||
|
}
|
||||||
:global(.site_header){
|
:global(.site_header){
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding-top: min(10rem, 10vh);
|
padding-top: min(10rem, 10vh);
|
||||||
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
:global(.site_header li, .site_header a){
|
:global(.site_header li, .site_header a){
|
||||||
font-size: 4rem;
|
font-size: 4rem;
|
||||||
@@ -266,6 +272,10 @@ footer{
|
|||||||
}
|
}
|
||||||
.nav_site .header-right{
|
.nav_site .header-right{
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 2rem;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
.language-selector-desktop{
|
.language-selector-desktop{
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user