fix(menu): jitter when closing menu

It's caused by flexbox gap property, which can't animate
This commit is contained in:
Jimmy Cai
2022-06-12 14:53:53 +00:00
committed by GitHub
parent d89def07ac
commit 1e5cced034
+5 -1
View File
@@ -11,7 +11,6 @@
flex-direction: column;
flex-shrink: 0;
align-self: stretch;
gap: var(--sidebar-element-separation);
max-width: none;
width: 100%;
position: relative;
@@ -65,6 +64,11 @@
}
}
}
.social-menu,
.menu {
margin-top: var(--sidebar-element-separation);
}
}
.right-sidebar {