fix: missing styles for embeds

This commit is contained in:
Sam Potts 2021-04-17 00:19:05 +10:00
parent 3316e40e7b
commit 5d08821c9b

View File

@ -28,14 +28,17 @@ $embed-padding: ((100 / 16) * 9);
.plyr__video-wrapper--fixed-ratio { .plyr__video-wrapper--fixed-ratio {
height: 0; height: 0;
padding-bottom: to-percentage($embed-padding); padding-bottom: to-percentage($embed-padding);
position: relative;
} }
.plyr__video-embed iframe, .plyr__video-embed iframe,
.plyr__video-wrapper--fixed-ratio video { .plyr__video-wrapper--fixed-ratio video {
border: 0; border: 0;
height: 100%;
left: 0; left: 0;
position: absolute; position: absolute;
top: 0; top: 0;
width: 100%;
} }
// If the full custom UI is supported // If the full custom UI is supported