merge: fix classic ui sidebars not sticking

This commit is contained in:
Marie 2023-11-29 02:45:41 +01:00 committed by GitHub
commit 5f3754f9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -216,6 +216,7 @@ onUnmounted(() => {
&.active {
opacity: 1;
color: var(--accent);
}
&.animate {

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;

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;