Fixes #3544 - Increase text modules box height for high resolutions.
This commit is contained in:
parent
89418cd717
commit
fb1df924ae
2 changed files with 6 additions and 1 deletions
|
@ -210,7 +210,7 @@
|
|||
|
||||
// create base template
|
||||
Plugin.prototype.renderBase = function() {
|
||||
this.$element.after('<div class="shortcut dropdown"><ul class="dropdown-menu" style="max-height: 200px;"></ul></div>')
|
||||
this.$element.after('<div class="shortcut dropdown"><ul class="dropdown-menu text-modules-box"></ul></div>')
|
||||
this.$widget = this.$element.next()
|
||||
this.$widget.on('mousedown', 'li', $.proxy(this.onEntryClick, this))
|
||||
this.$widget.on('mouseenter', 'li', $.proxy(this.onMouseEnter, this))
|
||||
|
|
|
@ -12972,3 +12972,8 @@ span.is-disabled {
|
|||
.kb-menu-settings-entry {
|
||||
margin-bottom: 12px
|
||||
}
|
||||
|
||||
.text-modules-box {
|
||||
max-height: 40vh;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue