Shortcuts: Move SectionHeader title below top line and refine styling (#18721)

This commit is contained in:
Keith Guerin
2026-02-24 00:12:29 -08:00
committed by GitHub
parent 81cd2561dc
commit e69e23e4a0
6 changed files with 50 additions and 22 deletions
@@ -30,9 +30,15 @@ describe('<SectionHeader />', () => {
title: 'Narrow Container',
width: 25,
},
])('$description', async ({ title, width }) => {
{
description: 'renders correctly with a subtitle',
title: 'Shortcuts',
subtitle: ' See /help for more',
width: 40,
},
])('$description', async ({ title, subtitle, width }) => {
const { lastFrame, waitUntilReady, unmount } = renderWithProviders(
<SectionHeader title={title} />,
<SectionHeader title={title} subtitle={subtitle} />,
{ width },
);
await waitUntilReady();