From d8d633ddb21f899bab1c958b0c62f55a98ef6d27 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Fri, 13 Nov 2026 17:24:19 -0500 Subject: [PATCH] fix(theme): preserve body styling for semantic row headers --- ZB.MOM.WW.Theme/README.md | 4 +++- ZB.MOM.WW.Theme/src/ZB.MOM.WW.Theme/wwwroot/css/theme.css | 2 +- components/ui-theme/validation/theme-1.0.1/DECISION.md | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ZB.MOM.WW.Theme/README.md b/ZB.MOM.WW.Theme/README.md index d338e1b..6997f3e 100644 --- a/ZB.MOM.WW.Theme/README.md +++ b/ZB.MOM.WW.Theme/README.md @@ -17,7 +17,9 @@ before ``. No Bootstrap collapse bundle is required. The canonical card grid keeps its 290px preferred minimum while allowing a card to shrink to the available column width. This prevents clipping/overflow in narrow reflow and zoomed layouts. Below 320px effective viewport width, the KPI grid -uses one column so labels and large totals retain their available width. Desktop geometry, colors, fonts and component APIs retain +uses one column so labels and large totals retain their available width. Semantic +row headers retain body styling; sticky uppercase treatment applies to column headers. +Desktop geometry, colors, fonts and component APIs retain the 1.0.0 contract. Consumers should adopt one exact patch version together; do not copy per-application grid fixes or repack the immutable 1.0.0 artifacts. diff --git a/ZB.MOM.WW.Theme/src/ZB.MOM.WW.Theme/wwwroot/css/theme.css b/ZB.MOM.WW.Theme/src/ZB.MOM.WW.Theme/wwwroot/css/theme.css index 4077580..649d051 100644 --- a/ZB.MOM.WW.Theme/src/ZB.MOM.WW.Theme/wwwroot/css/theme.css +++ b/ZB.MOM.WW.Theme/src/ZB.MOM.WW.Theme/wwwroot/css/theme.css @@ -360,7 +360,7 @@ a:hover { color: var(--accent-deep); text-decoration: underline; } white-space: nowrap; border-bottom: 1px solid var(--rule); } -.data-table th { +.data-table th:not([scope="row"]) { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; diff --git a/components/ui-theme/validation/theme-1.0.1/DECISION.md b/components/ui-theme/validation/theme-1.0.1/DECISION.md index 58143bb..7fd2481 100644 --- a/components/ui-theme/validation/theme-1.0.1/DECISION.md +++ b/components/ui-theme/validation/theme-1.0.1/DECISION.md @@ -11,6 +11,10 @@ Choose compatible patch **1.0.1**. The card-grid rule uses 195px width (216px with short totals, 248px with 500-instance totals). A shared 319px breakpoint now uses one KPI column; this does not affect widths >=320px. The first candidate was never published and is superseded before acceptance. +The Secrets metadata pilot also confirmed that the existing broad `th` selector +made semantic `scope="row"` cells sticky uppercase column headings. Narrow that +selector to exclude row headers, preserving common cell padding/borders and legacy +unscoped column-heading treatment. Validate computed row/column styles in browser. Normal widths stay unchanged; no token, palette, font, component API or domain behavior changes. Published1.0.0 and its static export remain immutable. Export1.0.1 must come from exact package bytes.