Fix popup auto dismiss when the gap is hovered

This was previously fixed, but I forgot to add it back when doing #445.
This commit is contained in:
infinite-persistence 2021-12-08 17:49:57 +08:00
parent 62cb26b4bf
commit 89cf411d18
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -174,6 +174,7 @@ $control-bar-icon-size: 0.7rem;
[dir] .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
background-color: rgba(43, 51, 63);
max-height: 20em;
margin-bottom: calc(var(--spacing-xxs) * -1); // Prevents accidental dismissal when the gap is hovered.
li {
font-size: $control-bar-popup-font-size;