From ff0b53274bf24820cfc0536ea0aee6ccce2d33de Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 6 Feb 2017 13:15:01 -0500 Subject: [PATCH] CRM-19943 - Add maximum height to contact tag tree and fix spacing --- css/contactSummary.css | 24 ++++++++++++++++++++++++ templates/CRM/Tag/Form/Tag.tpl | 13 ------------- 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/css/contactSummary.css b/css/contactSummary.css index a0b14924a9..6a957989da 100644 --- a/css/contactSummary.css +++ b/css/contactSummary.css @@ -345,6 +345,30 @@ div#crm-contact-thumbnail { width: 100%; } +#tagtree { + max-height: 500px; + overflow: auto; +} +#tagtree, +#tagtree li.highlighted ul { + background-color: white; +} +#tagtree li.highlighted, +#tagtree li.highlighted-child.jstree-closed { + background-color: #fefcb0; +} +#tagtree li { + margin-top: 5px; +} +#tagtree ins.jstree-icon { + cursor: pointer; + position: relative; + top: -3px; +} +#tagtree input { + margin: 0; +} + #tagGroup table .label { color: #FFF; } diff --git a/templates/CRM/Tag/Form/Tag.tpl b/templates/CRM/Tag/Form/Tag.tpl index 37ff7634fe..b83dffad9c 100644 --- a/templates/CRM/Tag/Form/Tag.tpl +++ b/templates/CRM/Tag/Form/Tag.tpl @@ -25,19 +25,6 @@ *} {* this template is used for adding/editing tags *} {literal} -