aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/base.scss
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2020-01-21 22:11:32 +0000
committerGitHub <noreply@github.com>2020-01-21 22:11:32 +0000
commitb6d94e000f1c38772443281be50aca4c917adb37 (patch)
tree30bdf43bca756b8a4860b60c2bb81969fc32b40e /src/sass/base.scss
parenta77d2d56f67d6b601940d89bd8ac9831e0949963 (diff)
parentbfcb7133cb682e801a4b46003853b3aa631afbbb (diff)
downloadplyr-b6d94e000f1c38772443281be50aca4c917adb37.tar.lz
plyr-b6d94e000f1c38772443281be50aca4c917adb37.tar.xz
plyr-b6d94e000f1c38772443281be50aca4c917adb37.zip
Merge pull request #1651 from shravan2x/develop
Fixed Plyr container not resizing responsively
Diffstat (limited to 'src/sass/base.scss')
-rw-r--r--src/sass/base.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sass/base.scss b/src/sass/base.scss
index 9bb9d98a..21757d29 100644
--- a/src/sass/base.scss
+++ b/src/sass/base.scss
@@ -10,6 +10,7 @@
font-family: $plyr-font-family;
font-variant-numeric: tabular-nums; // Force monosace-esque number widths
font-weight: $plyr-font-weight-regular;
+ height: 100%;
line-height: $plyr-line-height;
max-width: 100%;
min-width: 200px;
@@ -21,7 +22,7 @@
video,
audio {
border-radius: inherit;
- height: auto;
+ height: 100%;
vertical-align: middle;
width: 100%;
}