From c575850dc056bfb2c84d6ac60f9c105e226b20b9 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 18 May 2021 13:52:26 +0100 Subject: [PATCH] Ensure layout page component always fills the page --- packages/bbui/src/Layout/Page.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/bbui/src/Layout/Page.svelte b/packages/bbui/src/Layout/Page.svelte index 69c9adda14..f2a453dbd2 100644 --- a/packages/bbui/src/Layout/Page.svelte +++ b/packages/bbui/src/Layout/Page.svelte @@ -15,6 +15,7 @@ max-width: 80ch; margin: 0 auto; padding: calc(var(--spacing-xl) * 2); + min-height: calc(100% - var(--spacing-xl) * 4); } .wide { @@ -22,5 +23,6 @@ margin: 0; padding: var(--spacing-xl) calc(var(--spacing-xl) * 2) calc(var(--spacing-xl) * 2) calc(var(--spacing-xl) * 2); + min-height: calc(100% - var(--spacing-xl) * 3); }