From 7a66318a73bbd5993355a6be6525ea85201c79ac Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Thu, 29 Oct 2026 17:11:40 +0100 Subject: [PATCH] fix: sticky footer on role editor --- web/src/components/DashboardShell.vue | 17 +++++++++++++++-- web/src/views/RoleEditorView.vue | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/web/src/components/DashboardShell.vue b/web/src/components/DashboardShell.vue index 0292e9c..0207b09 100644 --- a/web/src/components/DashboardShell.vue +++ b/web/src/components/DashboardShell.vue @@ -69,6 +69,19 @@ const bodyUi = computed(() => { return props.compactPadding ? COMPACT_BODY : DEFAULT_BODY }) +const contentClass = computed(() => { + if (props.fullBleed) { + return 'flex h-full min-h-0 flex-1 flex-col' + } + return props.stickyFooter ? 'flex min-h-full flex-1 flex-col' : '' +}) +const innerClass = computed(() => { + if (props.fullBleed) { + return 'flex min-h-0 flex-1 flex-col' + } + return props.stickyFooter ? 'flex flex-1 flex-col' : '' +}) + const route = useRoute() const session = useSessionStore() const permissions = usePermissionsStore() @@ -420,7 +433,7 @@ function onRetry() {