Fixes #3544 - Increase text modules box height for high resolutions.

This commit is contained in:
Rolf Schmidt 2021-05-07 12:34:26 +00:00 committed by Thorsten Eckel
parent 89418cd717
commit fb1df924ae
2 changed files with 6 additions and 1 deletions

View file

@ -210,7 +210,7 @@
// create base template // create base template
Plugin.prototype.renderBase = function() { 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 = this.$element.next()
this.$widget.on('mousedown', 'li', $.proxy(this.onEntryClick, this)) this.$widget.on('mousedown', 'li', $.proxy(this.onEntryClick, this))
this.$widget.on('mouseenter', 'li', $.proxy(this.onMouseEnter, this)) this.$widget.on('mouseenter', 'li', $.proxy(this.onMouseEnter, this))

View file

@ -12972,3 +12972,8 @@ span.is-disabled {
.kb-menu-settings-entry { .kb-menu-settings-entry {
margin-bottom: 12px margin-bottom: 12px
} }
.text-modules-box {
max-height: 40vh;
}