From bc3bbe07d4d462392001e5309a5a16c45e1b8673 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 17 Jul 2021 01:21:49 +0200 Subject: [PATCH] combine tabs on narrow screens --- copyparty/web/browser.css | 11 +++++++++++ copyparty/web/browser.html | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 88bc873c..c3551082 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -476,6 +476,17 @@ html.light #ggrid a.sel { max-width: 9em; } } +@media (max-width: 35em) { + #ops>a[data-dest="new_md"], + #ops>a[data-dest="msg"] { + display: none; + } + #op_mkdir.act+div, + #op_mkdir.act+div+div { + display: block; + margin-top: 1em; + } +} diff --git a/copyparty/web/browser.html b/copyparty/web/browser.html index 0a0b4b30..7d1c907b 100644 --- a/copyparty/web/browser.html +++ b/copyparty/web/browser.html @@ -40,7 +40,7 @@
- +
@@ -48,14 +48,14 @@
- +
- +