diff options
Diffstat (limited to 'src/sass/components/video.scss')
-rw-r--r-- | src/sass/components/video.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sass/components/video.scss b/src/sass/components/video.scss index fdcf4f2d..ef70c104 100644 --- a/src/sass/components/video.scss +++ b/src/sass/components/video.scss @@ -15,8 +15,11 @@ .plyr__video-wrapper { background: #000; border-radius: inherit; + height: 100%; + margin: auto; overflow: hidden; position: relative; + width: 100%; // Require z-index to force border-radius z-index: 0; } @@ -33,12 +36,9 @@ $embed-padding: ((100 / 16) * 9); .plyr__video-embed iframe, .plyr__video-wrapper--fixed-ratio video { border: 0; - height: 100%; left: 0; position: absolute; top: 0; - user-select: none; - width: 100%; } // If the full custom UI is supported |