From 70641f49eb0be6cf350492e3cd8bf6701eefed1f Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Tue, 8 Oct 2019 10:49:58 +0200 Subject: [PATCH] Fix CSS for public select2 elements regardless of parent theme box-sizing --- css/civicrm.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/css/civicrm.css b/css/civicrm.css index 932661cfc6..ab287d8f7a 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -3659,9 +3659,11 @@ span.crm-status-icon { .crm-container.crm-public .select2-results { font-size: 14px; } +.crm-container.crm-public .select2-container * { + box-sizing: content-box; +} .crm-container.crm-public .select2-container .select2-choice { - padding: 5px 5px 5px 8px; - height: 35px; + padding: 0 5px 0 8px; } .crm-container.crm-public .select2-container-multi .select2-choices { padding: 4px; -- 2.25.1