From 2d791ec992866ceaf24505b905e6905beef107b5 Mon Sep 17 00:00:00 2001 From: Raine Date: Mon, 16 Oct 2023 01:36:03 +0200 Subject: [PATCH] fix: theming --- public/obj/css/main.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/public/obj/css/main.css b/public/obj/css/main.css index 71ce482..048d91f 100644 --- a/public/obj/css/main.css +++ b/public/obj/css/main.css @@ -9,6 +9,7 @@ html { body { margin: 0; padding: 0; + min-height: min-content; height: 100%; display: flex; flex-direction: column; @@ -22,6 +23,18 @@ body > * { padding: 1rem 2rem; } +@media (max-width: 800px) { + body { + padding: 1rem; + height: fit-content; + } + body > * { + margin: 0; + padding: 1rem 2rem; + width: calc(100% - 2rem - 2px); + } +} + main { border: 1px solid #ddd; background-color: #fff;