fix mobile layout navbar height

appearance-tab
Henry Jameson 3 months ago
parent e4a819a0e2
commit 6142ac2bfc

@ -129,7 +129,7 @@
.mobile-nav { .mobile-nav {
display: grid; display: grid;
line-height: var(--navbar-height); line-height: var(--navbar-height);
grid-template-rows: 50px; grid-template-rows: 1fr;
grid-template-columns: 2fr auto; grid-template-columns: 2fr auto;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
@ -190,8 +190,8 @@
justify-content: space-between; justify-content: space-between;
z-index: calc(var(--ZI_navbar) + 100); z-index: calc(var(--ZI_navbar) + 100);
width: 100%; width: 100%;
height: 50px; height: 3.5em;
line-height: 50px; line-height: 3.5em;
position: absolute; position: absolute;
box-shadow: var(--shadow); box-shadow: var(--shadow);
@ -214,7 +214,7 @@
} }
.mobile-notifications { .mobile-notifications {
margin-top: 50px; margin-top: 3.5em;
width: 100vw; width: 100vw;
height: calc(100vh - var(--navbar-height)); height: calc(100vh - var(--navbar-height));
overflow-x: hidden; overflow-x: hidden;

@ -49,6 +49,7 @@
} }
&.toggled { &.toggled {
margin-bottom: -4px;
border-bottom: 4px solid; border-bottom: 4px solid;
} }
} }

Loading…
Cancel
Save