From eab197109c00067dc76563e2f6d4d072027ba972 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Sat, 12 Oct 2024 10:43:56 +0100 Subject: [PATCH] Properly centre content and keep it to 70ch --- src/css/globals.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/css/globals.css b/src/css/globals.css index ae542a4..fda82fb 100644 --- a/src/css/globals.css +++ b/src/css/globals.css @@ -43,6 +43,8 @@ body { text-underline-offset: var(--space-size-4xs); display: flex; flex-wrap: wrap; + max-width: var(--screen-2xl); + margin: 0 auto; > .content { flex-basis: 0; @@ -166,4 +168,5 @@ main { margin-left: 0; margin-right: auto; padding: 0 var(--space-size-m); + max-width: 70ch; } \ No newline at end of file