From 2bf98a8faf06deefc09803fabf73895c081dfd93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Tr=C3=B6ger?= Date: Sat, 27 Sep 2025 14:22:41 +0200 Subject: [PATCH] ui updates --> responsiveness --- src/static/style.css | 13 +++++++++++++ src/templates/index.html | 9 +++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/static/style.css b/src/static/style.css index 19665fc..fae3b40 100755 --- a/src/static/style.css +++ b/src/static/style.css @@ -242,6 +242,10 @@ button span { align-items: center; } +.mobile_only { + display: none; +} + textarea, pre { background-color: white; @@ -256,9 +260,18 @@ pre { @media (max-width: 600px) { main { width: 100wv; + display: flex; } main > div { width: 100%; } + + .desktop_only { + display: none; + } + + .mobile_only { + display: unset; + } } diff --git a/src/templates/index.html b/src/templates/index.html index f1ad198..74824a2 100755 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -3,6 +3,11 @@ Anki Converter + + + + +
@@ -11,12 +16,12 @@
- +