diff options
author | Sam Potts <sam@potts.es> | 2020-02-14 16:53:31 +0000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-02-14 16:53:31 +0000 |
commit | 5afb14283a40abdf46afae8a34fd5fe66114446e (patch) | |
tree | aa517724ad9276dc3d02b5e8363e2567db649952 /src | |
parent | bfc541b88066b805bc6813c0a584c3c88e220a40 (diff) | |
download | plyr-5afb14283a40abdf46afae8a34fd5fe66114446e.tar.lz plyr-5afb14283a40abdf46afae8a34fd5fe66114446e.tar.xz plyr-5afb14283a40abdf46afae8a34fd5fe66114446e.zip |
Fix for regression with volume control width
Diffstat (limited to 'src')
-rw-r--r-- | src/sass/components/volume.scss | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/sass/components/volume.scss b/src/sass/components/volume.scss index 8afd76b0..7e59b992 100644 --- a/src/sass/components/volume.scss +++ b/src/sass/components/volume.scss @@ -5,7 +5,10 @@ .plyr__volume { align-items: center; display: flex; + max-width: 110px; + min-width: 80px; position: relative; + width: 20%; input[type='range'] { margin-left: ($plyr-control-spacing / 2); @@ -13,12 +16,4 @@ position: relative; z-index: 2; } - - @media (min-width: $plyr-bp-sm) { - max-width: 90px; - } - - @media (min-width: $plyr-bp-md) { - max-width: 110px; - } } |