Skip to content

Commit 8f88dd6

Browse files
authored
fix: controlbar shadow when controls: false (#830)
1 parent 869704e commit 8f88dd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/assets/styles/main.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ $icon-font-path: '../icon-font' !default;
215215
opacity: 0;
216216
}
217217

218-
&::before {
218+
&.vjs-controls-enabled::before {
219219
content: '';
220220
pointer-events: none;
221221
position: absolute;
@@ -230,8 +230,8 @@ $icon-font-path: '../icon-font' !default;
230230
font-size: 120%;
231231
display: none;
232232
}
233-
&.vjs-audio-only-mode::before,
234-
&.vjs-has-started::before {
233+
&.vjs-has-started::before,
234+
&.vjs-audio-only-mode::before {
235235
display: flex;
236236
transition: opacity 0.1s;
237237
}

0 commit comments

Comments
 (0)