Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Update UI, fix classic ui scrolling #178

Merged
merged 3 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ onUnmounted(() => {

&.active {
opacity: 1;
color: var(--accent);
}

&.animate {
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/src/ui/classic.sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 6 additions & 2 deletions packages/frontend/src/ui/classic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading