From fb1df924ae7010bc42b2de44f1611b8f4802997b Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Fri, 7 May 2021 12:34:26 +0000 Subject: [PATCH] Fixes #3544 - Increase text modules box height for high resolutions. --- app/assets/javascripts/app/lib/base/jquery.textmodule.js | 2 +- app/assets/stylesheets/zammad.scss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/base/jquery.textmodule.js b/app/assets/javascripts/app/lib/base/jquery.textmodule.js index 53f607b1d..68eda5f22 100644 --- a/app/assets/javascripts/app/lib/base/jquery.textmodule.js +++ b/app/assets/javascripts/app/lib/base/jquery.textmodule.js @@ -210,7 +210,7 @@ // create base template Plugin.prototype.renderBase = function() { - this.$element.after('') + this.$element.after('') this.$widget = this.$element.next() this.$widget.on('mousedown', 'li', $.proxy(this.onEntryClick, this)) this.$widget.on('mouseenter', 'li', $.proxy(this.onMouseEnter, this)) diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index abc89e512..30547516c 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -12972,3 +12972,8 @@ span.is-disabled { .kb-menu-settings-entry { margin-bottom: 12px } + +.text-modules-box { + max-height: 40vh; +} +