From 0af4fb9cde6bee79026c8d4fe99f78562a2ee7c7 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Wed, 4 Mar 2026 15:41:33 +1100 Subject: [PATCH] Fix configurable pane title and caption selectors --- css/configurable_views_pane.block.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/css/configurable_views_pane.block.css b/css/configurable_views_pane.block.css index 6203b63..88ade1b 100644 --- a/css/configurable_views_pane.block.css +++ b/css/configurable_views_pane.block.css @@ -2,13 +2,19 @@ * Legacy D7 view output compatibility tweaks for configurable views pane blocks. */ -/* Hide oversized legacy pretty-table caption headings such as "General". */ +/* Hide legacy table captions such as "General" from grouped pretty-table output. */ +.configurable-views-pane-block .views-table > caption { + display: none !important; +} + +/* Keep compatibility with legacy markup where the heading is nested in caption. */ .configurable-views-pane-block caption > h2.left { display: none !important; } -/* Match Page Manager block titles to legacy large left-aligned heading style. */ -.block:has(.configurable-views-pane-block) > h2.block__title { +/* Match pane titles to the larger legacy left-aligned heading style. */ +.configurable-views-pane-block > h2.block__title, +.block:has(> .configurable-views-pane-block) > h2.block__title { font-size: var(--cvp-legacy-title-size, 2rem) !important; font-weight: var(--cvp-legacy-title-weight, 700) !important; line-height: var(--cvp-legacy-title-line-height, 1.2) !important;