flip pbar padding logic

This commit is contained in:
Til Schmitter 2026-04-26 21:52:58 +02:00
parent ce36071f64
commit 2879b65a4c

View file

@ -7428,7 +7428,7 @@ function onwidgetresize(){
//wide //wide
ebi('trackname').after(ebi('progbar')); ebi('trackname').after(ebi('progbar'));
ebi('trackname').after(ebi('altprogbar')); ebi('trackname').after(ebi('altprogbar'));
bar.style.paddingTop = '.3em'; bar.style.paddingTop = '0';
} }
catch (e) { catch (e) {
// unnacounted old browser fallback // unnacounted old browser fallback
@ -7441,7 +7441,7 @@ function onwidgetresize(){
//thin //thin
pbarthinpos.appendChild(ebi('progbar')); pbarthinpos.appendChild(ebi('progbar'));
pbarthinpos.appendChild(ebi('altprogbar')); pbarthinpos.appendChild(ebi('altprogbar'));
bar.style.paddingTop = '0'; bar.style.paddingTop = '.3em';
} }
ebi('altprogbar').maxWidth = thin ? '' : '40vw' ebi('altprogbar').maxWidth = thin ? '' : '40vw'
bar.style.gridTemplateColumns = gtc; bar.style.gridTemplateColumns = gtc;