BUGFIX: taller keyboard shortcuts modal to prevent then scrollbar

This commit is contained in:
Régis Hanol 2014-01-24 15:17:31 +01:00
parent 165541844c
commit 6bf558c297
2 changed files with 10 additions and 1 deletions

View File

@ -8,5 +8,10 @@
@module Discourse @module Discourse
**/ **/
Discourse.KeyboardShortcutsHelpController = Discourse.Controller.extend(Discourse.ModalFunctionality, { Discourse.KeyboardShortcutsHelpController = Discourse.Controller.extend(Discourse.ModalFunctionality, {
needs: ['modal'] needs: ['modal'],
onShow: function() {
this.set('controllers.modal.modalClass', 'keyboard-shortcuts-modal');
}
}); });

View File

@ -13,6 +13,10 @@
background-color: inherit; background-color: inherit;
} }
.keyboard-shortcuts-modal .modal-body {
max-height: 500px;
}
#keyboard-shortcuts-help { #keyboard-shortcuts-help {
ul { ul {
list-style: none; list-style: none;