From 8c5d5553c5f63e70d98907c2759d05a2bd96e0d8 Mon Sep 17 00:00:00 2001 From: august kline Date: Mon, 6 Jan 2025 14:59:15 -0500 Subject: [PATCH] Fix login page layout --- server/src/client/assets/css/login.css | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/server/src/client/assets/css/login.css b/server/src/client/assets/css/login.css index 92fb503..bba129b 100644 --- a/server/src/client/assets/css/login.css +++ b/server/src/client/assets/css/login.css @@ -3,13 +3,8 @@ body { flex-wrap: wrap; justify-content: stretch; align-items: stretch; -} - -@media screen and (max-width: 50rem) { - body { - flex-direction: column; - flex-wrap: nowrap; - } + flex-direction: column; + flex-wrap: nowrap; } body>div { @@ -39,7 +34,6 @@ main { flex-direction: column; align-items: center; justify-content: center; - /* block-size: 100%; */ max-block-size: 100%; &>:first-child { @@ -71,3 +65,13 @@ form { max-inline-size: 40ch; gap: 1rem; } + +@media screen and (min-width: 50rem) { + body { + flex-direction: row; + } + + main { + margin-block: 0; + } +}