Add legacy caption/title compatibility styling for configurable pane

This commit is contained in:
2026-03-04 15:39:18 +11:00
parent f4e6824181
commit 1f7de53785
4 changed files with 62 additions and 10 deletions

View File

@@ -0,0 +1,19 @@
/*
* Legacy D7 view output compatibility tweaks for configurable views pane blocks.
*/
/* Hide oversized legacy pretty-table caption headings such as "General". */
.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 {
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;
text-align: left;
margin: 0 0 0.5rem;
letter-spacing: normal;
text-transform: none;
}