Skip to content

Commit

Permalink
fix(FEC-9682): scss preprocessor is not encapsulating 'playkit-' pref…
Browse files Browse the repository at this point in the history
…ix on video controls CSS (#494)

moved video css to be nested under player-playkit class
  • Loading branch information
RoyBregman committed Mar 4, 2020
1 parent d3a08a3 commit fde8697
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions src/styles/_shell.scss
Expand Up @@ -30,6 +30,18 @@
}
video {
width: 100%;
left: 0;

&::-webkit-media-controls-panel-container,
&::-webkit-media-controls {
display: none !important;
-webkit-appearance: none;
}

&::-webkit-media-controls-start-playback-button {
display: none !important;
-webkit-appearance: none;
}
}
.player-gui {
opacity: 0;
Expand Down Expand Up @@ -86,17 +98,3 @@
}
}

video {
left: 0;

&::-webkit-media-controls-panel-container,
&::-webkit-media-controls {
display: none !important;
-webkit-appearance: none;
}

&::-webkit-media-controls-start-playback-button {
display: none !important;
-webkit-appearance: none;
}
}

0 comments on commit fde8697

Please sign in to comment.