mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 13:53:44 +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
|
@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');
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user