Skip to content

Commit f71bac7

Browse files
authored
Merge pull request #47 from thuoe:bugfix/toggle-controls
fix: toggle controls when hovering container
2 parents 827caff + 925c080 commit f71bac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

player-styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const playerStyles = html`
168168
transition: opacity 0.2s ease-in-out, transform .3s ease-in-out;
169169
}
170170
171-
.video-controls:hover {
171+
.container:hover .video-controls {
172172
opacity: 1;
173173
}
174174

0 commit comments

Comments
 (0)