Skip to content

Commit

Permalink
improvement: hide vertical scrollbar in menu panel with preserve scro…
Browse files Browse the repository at this point in the history
…lling capability (LMS #1420) - use dom properties directly as jquery return false results on firefox
  • Loading branch information
chilek committed Oct 11, 2018
1 parent dcec875 commit 5375673
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ TABLE { border-collapse: collapse; border-color: #000000 }
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
align-items: stretch;
height: 100%;
min-width: 12em;
flex: 0 0 auto;
Expand Down
4 changes: 2 additions & 2 deletions templates/default/menu-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@
<script>

var menuPanelContainer = $('#lms-ui-menu-panel-container');
menuPanelContainer.css('margin-right', menuPanelContainer.width() - menuPanelContainer.outerWidth() + 'px');
menuPanelContainer.css('margin-right', menuPanelContainer[0].clientWidth - menuPanelContainer[0].offsetWidth + 'px');

</script>
</script>

0 comments on commit 5375673

Please sign in to comment.