From 1bec09cea88ce86ba30ae934028f93a670385a44 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Fri, 19 Jun 2026 23:24:58 +0200 Subject: [PATCH] full-width selection actions on small screens --- copyparty/web/browser.css | 9 +++++++++ copyparty/web/browser.js | 1 + 2 files changed, 10 insertions(+) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index c19df1a5..2e6be2cf 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -4290,6 +4290,15 @@ html.e #wrap.thin .ghead { #widget { font-size: 1.4em; } + #wtoggle.sel { + display: block; + max-width: 100%; + margin: 0 .1em .1em .1em; + } + #wstack.sel #up_quick, + #wstack.sel #wtico { + display: none; + } #pathBar { display: block; padding: .5em 1em; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index edc2acb3..4f2d61d5 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -9807,6 +9807,7 @@ var msel = (function () { r.all = null; clmod(ebi('wtoggle'), 'sel', r.getsel().length); + clmod(ebi('wstack'), 'sel', r.getsel().length); thegrid.loadsel(); fileman.render(); showfile.updtree();