From 38f460d698d1502d5cdc1bc53635cd130d02c412 Mon Sep 17 00:00:00 2001 From: Callum Tilbury Date: Thu, 9 Jan 2025 17:36:25 +0000 Subject: [PATCH] fixed mobile width. --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 691cc11..43e3587 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,6 @@ html, body { height: 100%; - margin: 0; + margin-top: 0.5em; } body { @@ -21,7 +21,7 @@ main { justify-content: center; /* vertical center */ align-items: left; /* horizontal center */ flex: 1; /* take up remaining space */ - max-width: 400px; + max-width: min(85%, 400px); margin: 0 auto; text-align: left; }