feat: remove need for iOS-specific styling
This commit is contained in:
parent
185bb4c7cc
commit
c4a566dbff
@ -5,21 +5,19 @@
|
|||||||
.plyr__volume {
|
.plyr__volume {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
max-width: 110px;
|
|
||||||
min-width: 80px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 20%;
|
|
||||||
|
|
||||||
input[type='range'] {
|
input[type='range'] {
|
||||||
margin-left: calc(#{$plyr-control-spacing} / 2);
|
margin-left: calc(#{$plyr-control-spacing} / 2);
|
||||||
margin-right: calc(#{$plyr-control-spacing} / 2);
|
margin-right: calc(#{$plyr-control-spacing} / 2);
|
||||||
|
max-width: 90px;
|
||||||
|
min-width: 60px;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Auto size on iOS as there's no slider
|
// Set size if there's a slider
|
||||||
.plyr--is-ios .plyr__volume {
|
.plyr__volume:has(input[type='range']) {
|
||||||
min-width: 0;
|
// width: 20%;
|
||||||
width: auto;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user