From 8c94f92a6738262059755d55caa190d8422b481f Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Sat, 25 Apr 2026 10:59:22 +0200 Subject: [PATCH] minor IE fixes --- copyparty/web/browser.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index c7844f30..d2898452 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -807,7 +807,7 @@ modal.load(); // toolbar ebi('ops').innerHTML = ( - (IE ? '' + L.ot_noie + '' : '') + + //(IE ? '' + L.ot_noie + '' : '') + '🔎' + (have_del ? '🧯' : '') + '🚀' + @@ -7399,8 +7399,13 @@ function onwidgetresize(){ var pbarthinpos = ebi('pbarthinpos'); var width = widget.offsetWidth; - var thin = IE || width < 800; //px + var thin = width < 800; //px + clmod(ebi('pathBar'), 'thin', thin); + clmod(ebi('wrap'), 'thin', thin); + + thin = thin || IE; + var gtc = 'max-content max-content max-content ' + (thin ? '' : '20%') + ' auto max-content max-content max-content'; if(!thin && bar.children.length < gtc.split(' ').length){ try{ @@ -7426,8 +7431,6 @@ function onwidgetresize(){ bar.style.gridTemplateColumns = gtc; clmod(widget, 'thin', thin); - clmod(ebi('pathBar'), 'thin', thin); - clmod(ebi('wrap'), 'thin', thin); pbar.onresize();