Keep the volume slider inside the player bar
Range inputs have a default width (180px in Firefox) they won't shrink below in a flex row, so the volume slider ran over the queue count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
68a6a7523c
commit
39cd2b69f1
1 file changed
+3
@@ -586,6 +586,8 @@ a.badge:hover {
|
|||||||
.player-progress input,
|
.player-progress input,
|
||||||
.player-volume input {
|
.player-volume input {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
/* sliders have a default width (180px in Firefox) they won't shrink below otherwise */
|
||||||
|
min-width: 0;
|
||||||
height: 4px;
|
height: 4px;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
@@ -640,6 +642,7 @@ a.badge:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.player-queue {
|
.player-queue {
|
||||||
|
white-space: nowrap;
|
||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
|
|||||||
Reference in new issue
Block a user