From 996188e5d6c0d82b7d09ad736bbb015bd8438f48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Mon, 29 May 2023 16:16:10 +0200 Subject: [PATCH] improve mobile download dropdown --- src/style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/style.css b/src/style.css index 110f846..75b991f 100644 --- a/src/style.css +++ b/src/style.css @@ -252,6 +252,22 @@ button:focus .dropdown, transform: translateY(0); } +@media only screen and (max-width: 40em) { + .dropdown, + button:focus .dropdown, + .button:focus .dropdown, + .dropdown:hover { + position: fixed !important; + height: fit-content; + top: 0 !important; + left: 0 !important; + right: 0 !important; + bottom: 0 !important; + margin: auto; + padding: 10px; + } +} + iframe { width: 100%; height: 100%;