From 4bbdbe15ec70471e54f0db19149018536db40f5f Mon Sep 17 00:00:00 2001 From: Luke Harris Date: Sun, 16 Feb 2025 15:20:55 -0600 Subject: [PATCH] Center dialog on small screen widths --- simple.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/simple.css b/simple.css index 1129120..5cde4fb 100644 --- a/simple.css +++ b/simple.css @@ -679,8 +679,7 @@ dialog::backdrop { @media only screen and (max-width: 720px) { dialog { - max-width: 100%; - margin: auto 1em; + max-width: calc(100vw - 2rem); } }