Skip to content

Commit

Permalink
fix: toggle controls when hovering container
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddie-Thuo committed Apr 3, 2021
1 parent 827caff commit 925c080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const playerStyles = html`
transition: opacity 0.2s ease-in-out, transform .3s ease-in-out;
}
.video-controls:hover {
.container:hover .video-controls {
opacity: 1;
}
Expand Down

0 comments on commit 925c080

Please sign in to comment.