diff --git a/changelog.d/fixed-10604.md b/changelog.d/fixed-10604.md new file mode 100644 index 0000000000..da15cdde07 --- /dev/null +++ b/changelog.d/fixed-10604.md @@ -0,0 +1 @@ +- hub dashboard: NPS section header matches sibling section styling (#10604) diff --git a/src/changelog.d/fixed-hub-nps-header-size-10600.md b/src/changelog.d/fixed-hub-nps-header-size-10600.md new file mode 100644 index 0000000000..3c57387540 --- /dev/null +++ b/src/changelog.d/fixed-hub-nps-header-size-10600.md @@ -0,0 +1 @@ +- Fixed the hub admin NPS feedback header so it matched sibling section sizing and summary weight. (#10600) diff --git a/src/pkg/hub/assets/dashboard.html b/src/pkg/hub/assets/dashboard.html index 582ba3c0ca..85eb22d790 100644 --- a/src/pkg/hub/assets/dashboard.html +++ b/src/pkg/hub/assets/dashboard.html @@ -484,11 +484,12 @@ } .admin-collapsible-section { margin-top: 48px; } .admin-collapsible-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-6); } - .admin-collapsible-title { color: var(--hub-dashboard-accent); margin: var(--sp-0); cursor: pointer; user-select: none; display: flex; align-items: center; gap: var(--sp-4); } + .admin-collapsible-title { font-size: 1.3rem; color: var(--hub-dashboard-accent); margin: var(--sp-0); cursor: pointer; user-select: none; display: flex; align-items: center; gap: var(--sp-4); } + .admin-collapsible-toggle { font-size: 0.7rem; } + .admin-collapsible-summary { font-size: var(--fs-sm); color: var(--muted); font-weight: 400; } /* NPS feedback card (#9610). Admin-only; every value is set with textContent, so this block only lays out plain text nodes. Tokens only, per the style ratchet. */ - .nps-admin-title { font-size: var(--fs-md); color: var(--hub-dashboard-accent); font-weight: 600; margin-bottom: var(--sp-4); } .nps-admin-summary { font-size: var(--fs-sm); color: var(--text); margin-bottom: var(--sp-2); } .nps-admin-sub { font-size: var(--fs-xs); color: var(--muted); margin: var(--sp-4) 0 var(--sp-2); text-transform: uppercase; letter-spacing: 0.04em; } .nps-admin-row { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-2); font-size: var(--fs-xs); } @@ -639,8 +640,8 @@