mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04:00
BUGFIX: taller keyboard shortcuts modal to prevent then scrollbar
This commit is contained in:
parent
165541844c
commit
6bf558c297
2 changed files with 10 additions and 1 deletions
app/assets
javascripts/discourse/controllers
stylesheets/common/components
|
@ -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…
Add table
Reference in a new issue