mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 05:32:25 -06:00
flip pbar padding logic
This commit is contained in:
parent
ce36071f64
commit
2879b65a4c
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue