play bar padding adjustment

This commit is contained in:
Til Schmitter 2026-04-13 23:53:00 +02:00
parent c37fe31af0
commit 2ccefdeb9c
2 changed files with 4 additions and 1 deletions

View file

@ -1016,7 +1016,7 @@ html.dz #flogout {
.play .imgcontainer {
&::before {
content: '';
box-sizing: border-box;
box-sizing: border-box;
position: absolute;
left: -50%;
top: -50%;
@ -1389,6 +1389,7 @@ html.y #widget.open {
align-items: center;
height: 100%;
margin-right: .5em;
padding: .3em 0;
}
#pctl .icon {
font-size: 1em;

View file

@ -7108,10 +7108,12 @@ function onwidgetresize(){
if(thin && bar.children.length > gtc.split(' ').length){
pbarthinpos.appendChild(ebi('progbar'));
pbarthinpos.appendChild(ebi('altprogbar'));
bar.style.paddingTop = '0';
}
else if(!thin && bar.children.length < gtc.split(' ').length){
ebi('trackname').after(ebi('progbar'));
ebi('trackname').after(ebi('altprogbar'));
bar.style.paddingTop = '.3em';
}
ebi('altprogbar').maxWidth = thin ? '' : '40vw'
bar.style.gridTemplateColumns = gtc;