mirror of
https://github.com/9001/copyparty.git
synced 2026-06-19 04:32:26 -06:00
play bar padding adjustment
This commit is contained in:
parent
c37fe31af0
commit
2ccefdeb9c
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue