aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/base.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/base.scss')
-rw-r--r--src/sass/base.scss11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/sass/base.scss b/src/sass/base.scss
index 9bb9d98a..2aefd909 100644
--- a/src/sass/base.scss
+++ b/src/sass/base.scss
@@ -5,11 +5,13 @@
// Base
.plyr {
@include plyr-font-smoothing($plyr-font-smoothing);
-
+ align-items: center;
direction: ltr;
+ display: flex;
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;
@@ -19,10 +21,11 @@
// Media elements
video,
- audio {
+ audio,
+ iframe {
border-radius: inherit;
- height: auto;
- vertical-align: middle;
+ display: block;
+ height: 100%;
width: 100%;
}