mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 16:13:08 +02:00
merge: fix classic ui sidebars not sticking
This commit is contained in:
commit
5f3754f9fc
3 changed files with 9 additions and 3 deletions
|
@ -216,6 +216,7 @@ onUnmounted(() => {
|
|||
|
||||
&.active {
|
||||
opacity: 1;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
&.animate {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue