From 0081205aced5afadc067f5c5f12391ad694db30a Mon Sep 17 00:00:00 2001 From: ayaka Date: Mon, 6 Jan 2025 15:13:22 +1300 Subject: [PATCH] fix details grid --- static/style.css | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/static/style.css b/static/style.css index 70db044..9567a81 100644 --- a/static/style.css +++ b/static/style.css @@ -525,22 +525,16 @@ aside { margin-bottom: 20px; } +#user_actions, #sub_actions { display: grid; - grid-template-columns: auto 2fr 1fr; - grid-template-rows: 1fr; - grid-column-gap: 0px; - grid-row-gap: 0px; + grid-template-columns: auto 4fr 1fr; } #user_details, -#sub_details, -#user_actions { +#sub_details { display: grid; - grid-template-columns: auto 2fr 1fr; - grid-template-rows: 1fr; - grid-column-gap: 0px; - grid-row-gap: 0px; + grid-template-columns: repeat(2, 1fr); } @media screen and (max-width: 279px) { #sub_actions { display: unset; }