fix(menu): jitter when closing menu
It's caused by flexbox gap property, which can't animate
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
gap: var(--sidebar-element-separation);
|
|
||||||
max-width: none;
|
max-width: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -65,6 +64,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.social-menu,
|
||||||
|
.menu {
|
||||||
|
margin-top: var(--sidebar-element-separation);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-sidebar {
|
.right-sidebar {
|
||||||
|
|||||||
Reference in New Issue
Block a user