Skip to content

Commit

Permalink
Merge pull request #47 from thuoe:bugfix/toggle-controls
Browse files Browse the repository at this point in the history
fix: toggle controls when hovering container
  • Loading branch information
thuoe authored Apr 3, 2021
2 parents 827caff + 925c080 commit f71bac7
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

1 comment on commit f71bac7

@vercel
Copy link

@vercel vercel bot commented on f71bac7 Apr 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.