1
0

merge: fix classic ui sidebars not sticking

This commit is contained in:
Marie
2023-11-29 02:45:41 +01:00
committed by GitHub
3 changed files with 9 additions and 3 deletions
@@ -216,6 +216,7 @@ onUnmounted(() => {
&.active {
opacity: 1;
color: var(--accent);
}
&.animate {
+2 -1
View File
@@ -109,7 +109,8 @@ watch(defaultStore.reactiveState.menuDisplay, () => {
$nav-icon-only-width: 78px; // TODO: どこかに集約したい
$avatar-size: 32px;
$avatar-margin: 8px;
position: sticky;
top: 16px;
padding: 0 16px;
box-sizing: border-box;
width: 260px;
+6 -2
View File
@@ -253,9 +253,13 @@ onMounted(() => {
}
> .widgets {
//--panelBorder: none;
position: sticky;
top: 0;
width: 300px;
padding-bottom: calc(var(--margin) + env(safe-area-inset-bottom, 0px));
height: 100%;
padding-top: 16px;
box-sizing: border-box;
overflow: auto;
@media (max-width: $widgets-hide-threshold) {
display: none;