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)', +)