From abb1fc53cb63e94b7a0fb964b19e8a36773da2ab Mon Sep 17 00:00:00 2001 From: httpjamesm Date: Mon, 22 May 2023 14:19:04 -0400 Subject: [PATCH] style: modal mobile optimization --- static/styles/home.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/static/styles/home.css b/static/styles/home.css index 1c429b6..c756158 100644 --- a/static/styles/home.css +++ b/static/styles/home.css @@ -139,6 +139,8 @@ body { background-color: rgba(0, 0, 0, 0.8); justify-content: center; align-items: center; + padding: 1rem; + box-sizing: border-box; } #attribution-modal:target { @@ -172,3 +174,10 @@ body { min-width: 25rem; border-radius: 10px; } + +@media only screen and (max-width: 800px) { + .modal-content { + min-width: auto; + width: 100%; + } +}