Skip to content

Commit

Permalink
fixed issue with scrollbars in Chrome on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc committed Apr 24, 2015
1 parent adc5415 commit 1c31605
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/css/components/_volume.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ width and height to zero. */
.video-js .vjs-menu-button.vjs-volume-menu-button .vjs-menu .vjs-menu-content {
height: 0;
width: 0;

// Avoids unnecessary scrollbars in the menu content. Primarily noticed in Chrome on Linux.
overflow-x: hidden;
overflow-y: hidden;
}

.video-js .vjs-volume-menu-button:hover .vjs-menu,
Expand Down

0 comments on commit 1c31605

Please sign in to comment.