Fixed Video Z-Index fighting

This commit is contained in:
YourWishes committed 2018-06-06 08:06:38 +10:00
1 parent c79bbf739d
commit 1c4f9435b1
3 files changed
+7 -3

No files matched your search

+4 -1
View File
@@ -19,14 +19,17 @@
object-fit:cover;
}
$o-video__loader-z: 1;
$o-video__fallback-z: 0;
$o-video__video-z: 1;
$o-video__loader-z: 2;
.o-video {
position: relative;
&__video {
width: 100%;
position: relative;//Needed by some browser to allow the Z-Index to apply
z-index: $o-video__video-z;
&.is-full {
@extend %o-video__media-cover;