From e2c74a7378846039cf4a69ecc7d1851ab06792c2 Mon Sep 17 00:00:00 2001 From: AzuTear Date: Wed, 17 Jun 2026 13:30:27 +0200 Subject: [PATCH] Compact admin layout and preserve admin scroll --- frontend/src/components/AppShell.vue | 19 ++-- .../src/components/admin/AdminPageHeader.vue | 8 +- .../components/admin/AdminSeasonToolbar.vue | 20 ++-- frontend/src/router.ts | 10 +- frontend/src/views/admin/AdminLayoutView.vue | 96 ++++++++----------- 5 files changed, 73 insertions(+), 80 deletions(-) diff --git a/frontend/src/components/AppShell.vue b/frontend/src/components/AppShell.vue index 52bc3d9..4d35d6f 100644 --- a/frontend/src/components/AppShell.vue +++ b/frontend/src/components/AppShell.vue @@ -31,6 +31,7 @@ const currentLabel = computed( const visibleNavItems = computed(() => navItems.filter((item) => item.to !== '/admin' || authStore.isAdmin), ) +const isAdminRoute = computed(() => route.path.startsWith('/admin')) async function login(role: 'viewer' | 'admin') { loginError.value = '' @@ -56,15 +57,21 @@ async function login(role: 'viewer' | 'admin') { {{ currentLabel }} -
-
+
+
-
- +
+
VTUBER - STAR AWARDS + STAR AWARDS
@@ -96,7 +103,7 @@ async function login(role: 'viewer' | 'admin') {

{{ loginError }}

-
+