From 95f2d7799779cd68e897c2c4279fac992917973b Mon Sep 17 00:00:00 2001 From: JediKev <kevin@enhancesoft.com> Date: Thu, 2 Aug 2018 11:04:11 -0500 Subject: [PATCH] canned: Canned Response Select2 Height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds an enhancement to the Canned Response Select2 showing more options within the list. The length is automatic and is based on how many Canned Responses you have Enabled. Limits: - Height maxes out at 400px so it doesn’t run off the screen --- scp/css/scp.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scp/css/scp.css b/scp/css/scp.css index 4d1a2cb84..112140d1b 100644 --- a/scp/css/scp.css +++ b/scp/css/scp.css @@ -2930,3 +2930,12 @@ a.attachment { */ .select2-selection__rendered, .select2-search, .select2-search__field:not([placeholder='']){width: 100% !important;} +/* Fix Canned Responses Select2 Height */ +#resp_sec .select2-results, #resp_sec .select2-results__choices { + height: auto; + max-height: 400px !important; +} +#select2-cannedResp-results { + height: auto; + max-height: 400px !important; +} -- GitLab