mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:01:52 +08:00
BUGFIX: taller keyboard shortcuts modal to prevent then scrollbar
This commit is contained in:
parent
165541844c
commit
6bf558c297
|
@ -8,5 +8,10 @@
|
|||
@module Discourse
|
||||
**/
|
||||
Discourse.KeyboardShortcutsHelpController = Discourse.Controller.extend(Discourse.ModalFunctionality, {
|
||||
needs: ['modal']
|
||||
needs: ['modal'],
|
||||
|
||||
onShow: function() {
|
||||
this.set('controllers.modal.modalClass', 'keyboard-shortcuts-modal');
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
background-color: inherit;
|
||||
}
|
||||
|
||||
.keyboard-shortcuts-modal .modal-body {
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
#keyboard-shortcuts-help {
|
||||
ul {
|
||||
list-style: none;
|
||||
|
|
Loading…
Reference in New Issue
Block a user