From 85e52d9336a20b2cfd61cdc34ad4d072d02b7202 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Fri, 16 Oct 2026 11:41:19 +0200 Subject: [PATCH] fix(quick-261016-0fm): bottom save bars no longer cover the sidebar AppShell exposes --shell-offset (the rail, plus the section panel when it shows); the form, settings, My account and preview save bars start there, so the rail's Settings item stays visible and clickable. --- admin/src/components/shell/AppShell.vue | 9 ++++++++- admin/src/views/AccountView.vue | 2 +- admin/src/views/FormView.vue | 2 +- admin/src/views/PreviewView.vue | 2 +- admin/src/views/SettingsFormView.vue | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/admin/src/components/shell/AppShell.vue b/admin/src/components/shell/AppShell.vue index 91b0f85..444ff83 100644 --- a/admin/src/components/shell/AppShell.vue +++ b/admin/src/components/shell/AppShell.vue @@ -27,10 +27,17 @@ onBeforeUnmount(stopViewport) const siteURL = `${window.location.origin}/` const active = computed(() => activeEntry(String(route.params.vendor ?? ''), String(route.params.plugin ?? ''))) + +// --shell-offset is the width the sidebar occupies (the rail, plus the +// section panel when it shows). Fixed bottom save bars start there, so the +// rail's Settings item is never covered. +const shellOffset = computed(() => + active.value && !collapsed.value ? 'calc(var(--spacing-rail) + var(--spacing-panel))' : 'var(--spacing-rail)', +)