From a0259cc51d59671e2fa4211c732c1f1ae37b6eac Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Thu, 11 Jul 2024 20:01:23 +0400 Subject: [PATCH] fix: apply max-width including padding to all body>div-s btw the fix doesn't work so it's just a code cleanup --- style.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index 9a807d6..b3faf63 100644 --- a/style.css +++ b/style.css @@ -6,14 +6,13 @@ body { body > div { width: fit-content; margin: auto; + max-width: calc(100vw - 0.5rem * 2); } -body > div#options { +#options { display: flex; flex-direction: column; row-gap: 0.25rem; - - max-width: calc(100vw - 0.5rem * 2); } select, input, button {