From e5e7305abbea39631f1ad3ea72588d83a5584a85 Mon Sep 17 00:00:00 2001 From: Lea Rosema Date: Sun, 20 Oct 2024 15:40:26 +0200 Subject: [PATCH] fix: layout margins --- docs/css/_globals.css | 3 --- docs/css/utils/_wrapper.css | 7 +++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/css/_globals.css b/docs/css/_globals.css index e739c92..8fbe20b 100644 --- a/docs/css/_globals.css +++ b/docs/css/_globals.css @@ -26,9 +26,6 @@ a { } main { - flex: 1 auto; - width: min(100% - 3rem, var(--container-max, 60ch)); - margin-inline-end: auto; padding-block: 2rem; } diff --git a/docs/css/utils/_wrapper.css b/docs/css/utils/_wrapper.css index eda91e6..0470b57 100644 --- a/docs/css/utils/_wrapper.css +++ b/docs/css/utils/_wrapper.css @@ -1,6 +1,5 @@ -/* kudos: smolcss.dev intrinsic container */ - .wrapper { - width: min(100% - 3rem, var(--container-max, 862px)); - margin-inline: auto; + width: min(100% - 2rem, var(--container-max, 800px)); + margin-inline-start: 1rem; + margin-inline-end: auto; }