From 7e312a0e8c8be44a76ca5843c189e2413df272d8 Mon Sep 17 00:00:00 2001 From: pa Date: Sun, 25 Jan 2026 17:08:25 +0900 Subject: [PATCH] add BackToTopVirtual component --- src/components/BackToTopVirtual.vue | 161 ++++++++++++++++++ src/composables/useMainLayoutResizable.js | 2 +- src/views/Sidebar/Sidebar.vue | 29 +--- .../Sidebar/components/FriendsSidebar.vue | 4 + .../Sidebar/components/GroupsSidebar.vue | 5 +- 5 files changed, 173 insertions(+), 28 deletions(-) create mode 100644 src/components/BackToTopVirtual.vue diff --git a/src/components/BackToTopVirtual.vue b/src/components/BackToTopVirtual.vue new file mode 100644 index 00000000..7817f91b --- /dev/null +++ b/src/components/BackToTopVirtual.vue @@ -0,0 +1,161 @@ + + + + + diff --git a/src/composables/useMainLayoutResizable.js b/src/composables/useMainLayoutResizable.js index e79def52..b60b9a38 100644 --- a/src/composables/useMainLayoutResizable.js +++ b/src/composables/useMainLayoutResizable.js @@ -6,7 +6,7 @@ import { useAppearanceSettingsStore } from '../stores'; import configRepository from '../service/config'; export function useMainLayoutResizable() { - const asideMaxPx = 500; + const asideMaxPx = 700; const appearanceStore = useAppearanceSettingsStore(); const { setAsideWidth } = appearanceStore; diff --git a/src/views/Sidebar/Sidebar.vue b/src/views/Sidebar/Sidebar.vue index 2d946836..1c52078a 100644 --- a/src/views/Sidebar/Sidebar.vue +++ b/src/views/Sidebar/Sidebar.vue @@ -95,18 +95,16 @@ @@ -114,8 +112,8 @@