diff --git a/src/ZB.MOM.WW.MxGateway.Server/ZB.MOM.WW.MxGateway.Server.csproj b/src/ZB.MOM.WW.MxGateway.Server/ZB.MOM.WW.MxGateway.Server.csproj index a402153..8d299d8 100644 --- a/src/ZB.MOM.WW.MxGateway.Server/ZB.MOM.WW.MxGateway.Server.csproj +++ b/src/ZB.MOM.WW.MxGateway.Server/ZB.MOM.WW.MxGateway.Server.csproj @@ -15,7 +15,7 @@ - + diff --git a/src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/site.css b/src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/site.css index 40542db..fa82bbd 100644 --- a/src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/site.css +++ b/src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/site.css @@ -183,8 +183,19 @@ code { } /* ── Buttons ───────────────────────────────────────────────────────────────── - Flatten Bootstrap buttons onto the single accent + hairline palette. */ -.btn { border-radius: 5px; font-size: 0.82rem; font-weight: 500; white-space: nowrap; } + Flatten Bootstrap buttons onto the single accent + hairline palette. + + Button *sizing* is not here: ZB.MOM.WW.Theme 0.4.0 upstreamed it into + layout.css as --bs-btn-* variable overrides, and ThemeHead emits that sheet + ahead of this one, so it applies without a local copy. Do not reintroduce a + local font-size on .btn — a literal at equal specificity beats Bootstrap's + `font-size: var(--bs-btn-font-size)` and flattens .btn-sm into a + padding-only difference across the whole app. + + What remains is shape, not size, and is app-specific. border-radius stays a + literal rather than --bs-btn-border-radius so .btn-sm cannot shrink it; the + .btn-group seam rules outrank .btn, so groups still render seamed. */ +.btn { border-radius: 5px; font-weight: 500; white-space: nowrap; } .btn-primary { background: var(--accent); border-color: var(--accent);