mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 05:32:25 -06:00
play bar padding adjustment
This commit is contained in:
parent
c37fe31af0
commit
2ccefdeb9c
|
|
@ -1016,7 +1016,7 @@ html.dz #flogout {
|
||||||
.play .imgcontainer {
|
.play .imgcontainer {
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -50%;
|
left: -50%;
|
||||||
top: -50%;
|
top: -50%;
|
||||||
|
|
@ -1389,6 +1389,7 @@ html.y #widget.open {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin-right: .5em;
|
margin-right: .5em;
|
||||||
|
padding: .3em 0;
|
||||||
}
|
}
|
||||||
#pctl .icon {
|
#pctl .icon {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
|
|
|
||||||
|
|
@ -7108,10 +7108,12 @@ function onwidgetresize(){
|
||||||
if(thin && bar.children.length > gtc.split(' ').length){
|
if(thin && bar.children.length > gtc.split(' ').length){
|
||||||
pbarthinpos.appendChild(ebi('progbar'));
|
pbarthinpos.appendChild(ebi('progbar'));
|
||||||
pbarthinpos.appendChild(ebi('altprogbar'));
|
pbarthinpos.appendChild(ebi('altprogbar'));
|
||||||
|
bar.style.paddingTop = '0';
|
||||||
}
|
}
|
||||||
else if(!thin && bar.children.length < gtc.split(' ').length){
|
else if(!thin && bar.children.length < gtc.split(' ').length){
|
||||||
ebi('trackname').after(ebi('progbar'));
|
ebi('trackname').after(ebi('progbar'));
|
||||||
ebi('trackname').after(ebi('altprogbar'));
|
ebi('trackname').after(ebi('altprogbar'));
|
||||||
|
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