aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/components/volume.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/components/volume.scss')
-rw-r--r--src/sass/components/volume.scss28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/sass/components/volume.scss b/src/sass/components/volume.scss
index 614b35f5..be82f536 100644
--- a/src/sass/components/volume.scss
+++ b/src/sass/components/volume.scss
@@ -3,23 +3,23 @@
// --------------------------------------------------------------
.plyr__volume {
- align-items: center;
- display: flex;
- max-width: 110px;
- min-width: 80px;
- position: relative;
- width: 20%;
+ align-items: center;
+ display: flex;
+ max-width: 110px;
+ min-width: 80px;
+ position: relative;
+ width: 20%;
- input[type='range'] {
- margin-left: ($plyr-control-spacing / 2);
- margin-right: ($plyr-control-spacing / 2);
- position: relative;
- z-index: 2;
- }
+ input[type='range'] {
+ margin-left: calc(#{$plyr-control-spacing} / 2);
+ margin-right: calc(#{$plyr-control-spacing} / 2);
+ position: relative;
+ z-index: 2;
+ }
}
// Auto size on iOS as there's no slider
.plyr--is-ios .plyr__volume {
- min-width: 0;
- width: auto;
+ min-width: 0;
+ width: auto;
}