From 8becb5689503d8ad33b5aa3c4e5fc829d8de97cf Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Mon, 19 Jun 2023 18:52:04 +0400 Subject: [PATCH] Padding for body --- src/layouts/Layout.astro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index cac99d1..087cdad 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -33,6 +33,9 @@ const { title, description } = Astro.props; margin: 0; padding: 0; + box-sizing: border-box; + padding: 0 0.5rem; + background: var(--bg); color: var(--fg); font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Liberation Sans', 'Helvetica Neue', sans-serif;