From d0ccd5a00a2df23840632ada29bfbea0349f060d Mon Sep 17 00:00:00 2001 From: David Hill <1879069+iamdavidhill@users.noreply.github.com> Date: Thu, 26 Nov 2026 15:39:15 -0600 Subject: [PATCH] feat(data): even corners and descriptions under titles in phone section headings (#66679) --- packages/data/app/src/routes/index.css | 18 +++++++++++++++++- .../data/app/src/routes/section-heading.tsx | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/packages/data/app/src/routes/index.css b/packages/data/app/src/routes/index.css index 1a1dcf8d38b..8457f650a66 100644 --- a/packages/data/app/src/routes/index.css +++ b/packages/data/app/src/routes/index.css @@ -8272,10 +8272,25 @@ body { [data-page="stats"] [data-slot="section-heading-row"] { flex-direction: column; - gap: 12px; + gap: 36px; margin-bottom: 32px; } + /* A section whose heading has controls starts them as far below its top line as they are from its right edge. */ + [data-page="stats"] [data-section]:has(> [data-slot="section-heading-row"]) { + padding-top: 24px; + } + + /* Each description on its own line under its title, the title's full stop dropped. */ + [data-page="stats"] h2:has(> strong > [data-slot="heading-link"]) > span { + display: block; + margin-top: 4px; + } + + [data-page="stats"] [data-slot="heading-stop"] { + display: none; + } + [data-page="stats"] [data-slot="section-heading-row"] > h2 { margin-bottom: 0; } @@ -8284,6 +8299,7 @@ body { [data-page="stats"] [data-slot="section-heading-row"] > :not(h2) { order: -1; align-self: flex-end; + margin-top: 0; } [data-page="stats"] [data-slot="section-heading-row"] > [data-component="usage-filter"] { diff --git a/packages/data/app/src/routes/section-heading.tsx b/packages/data/app/src/routes/section-heading.tsx index 486693ee2d0..965660ba1c1 100644 --- a/packages/data/app/src/routes/section-heading.tsx +++ b/packages/data/app/src/routes/section-heading.tsx @@ -16,7 +16,7 @@ export function SectionHeading(props: { # {props.title} - {props.description ? "." : ""} + {props.description && .} {props.description && (