Aspect ratio tweaks

This commit is contained in:
Sam Potts
2019-06-03 20:13:16 +10:00
parent 0f14865d56
commit 97d9228bed
5 changed files with 17 additions and 19 deletions

View File

@ -62,12 +62,13 @@
.plyr__video-wrapper {
height: 100%;
width: 100%;
position: static;
}
// Vimeo requires some different styling
&.plyr--vimeo .plyr__video-wrapper {
height: 0;
position: relative;
top: 50%;
transform: translateY(-50%);
}