From 50929b1d9052e80bd4cb1eb16f0a41b408fa24b5 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 13 Jul 2022 12:19:24 +0100 Subject: [PATCH] Remove layout padding when using max width screens --- packages/client/src/components/app/Layout.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/client/src/components/app/Layout.svelte b/packages/client/src/components/app/Layout.svelte index 58b2797162..e58d4ece0c 100644 --- a/packages/client/src/components/app/Layout.svelte +++ b/packages/client/src/components/app/Layout.svelte @@ -323,6 +323,9 @@ position: relative; padding: 32px; } + .main.size--max { + padding: 0; + } .layout--none .main { padding: 0; } @@ -465,6 +468,9 @@ .mobile:not(.layout--none) .main { padding: 16px; } + .mobile .main.size--max { + padding: 0; + } /* Transform links into drawer */ .mobile .links {