From e6706b556f8ab238097b4aea7d850516b9ee1549 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 20 Apr 2024 22:19:32 +0200 Subject: [PATCH] improve award modal on mobile --- files/assets/css/main.css | 12 +++++++----- files/templates/modals/award.html | 10 ++-------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index ebb33e8e5..e47590ffa 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7210,11 +7210,6 @@ input[type=number] { } } -@media (max-width: 394px) { - #note { - min-height: 80px; - } -} .collapsed .showmore-text @@ -7869,3 +7864,10 @@ tr:has(hideme) { height: 30px; object-fit: contain; } + +@media (max-width: 768px) { + .awards-wrapper { + max-height: 43vh; + overflow-y: auto; + } +} diff --git a/files/templates/modals/award.html b/files/templates/modals/award.html index 3ef4c02a7..f999d668e 100644 --- a/files/templates/modals/award.html +++ b/files/templates/modals/award.html @@ -3,13 +3,7 @@