aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass')
-rw-r--r--src/sass/base.scss3
-rw-r--r--src/sass/components/video.scss1
2 files changed, 3 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%;
}
diff --git a/src/sass/components/video.scss b/src/sass/components/video.scss
index fdcf4f2d..06b2848d 100644
--- a/src/sass/components/video.scss
+++ b/src/sass/components/video.scss
@@ -15,6 +15,7 @@
.plyr__video-wrapper {
background: #000;
border-radius: inherit;
+ height: 100%;
overflow: hidden;
position: relative;
// Require z-index to force border-radius