fix: mobile menu glitch on collapsing (#1243)

This commit is contained in:
Jimmy
2026-01-26 14:13:16 +01:00
committed by GitHub
parent a069e975aa
commit 258a71e21a
2 changed files with 33 additions and 3 deletions
+19 -1
View File
@@ -11,7 +11,25 @@
flex-direction: column;
flex-shrink: 0;
align-self: stretch;
gap: var(--sidebar-element-separation);
@include respond(md) {
gap: var(--sidebar-element-separation);
}
margin-bottom: calc(-1 * var(--sidebar-element-separation));
@include respond(md) {
margin-bottom: 0;
}
&> :not(:last-child) {
margin-bottom: var(--sidebar-element-separation);
@include respond(md) {
margin-bottom: 0;
}
}
max-width: none;
width: 100%;
position: relative;