From 29be24d9e56a5f7c8124884f03c9bb870b8d7e89 Mon Sep 17 00:00:00 2001 From: Nicol Date: Fri, 22 Dec 2023 14:07:48 +0100 Subject: [PATCH] Adds support for fieldset In this commit: https://github.com/civicrm/civicrm-core/commit/1602ec3e104de40e7bd785496f0cde323fe870ed the `display: none` was narrowed to only target divs with the class '.collapsed'. This excluded a few examples of fieldsets being used (as identified in ThemeTest, Accordion 4 - https://lab.civicrm.org/extensions/themetest/-/blob/main/ang/themetest/snippets/accordion4.html) --- css/civicrm.css | 1 + 1 file changed, 1 insertion(+) diff --git a/css/civicrm.css b/css/civicrm.css index 430a55fd90..956e5ca804 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -2274,6 +2274,7 @@ div.crm-master-accordion-header a.helpicon { } .crm-container div.collapsed .crm-accordion-body, +.crm-container fieldset.collapsed .crm-accordion-body, .crm-container .crm-collapsible.collapsed .collapsible-title + * { display: none; } -- 2.25.1