diff --git a/web/NavPanel.tsx b/web/NavPanel.tsx
index de291b4..bb6e97f 100644
--- a/web/NavPanel.tsx
+++ b/web/NavPanel.tsx
@@ -45,7 +45,7 @@ import { pageParam, usePages } from './usePages';
*/
const rowClass = (active: boolean) =>
- `flex w-full items-start gap-2.5 border-b border-border px-3 py-2.5 text-left transition-colors ${
+ `flex w-full items-center gap-2.5 border-b border-border px-3 py-2.5 text-left transition-colors ${
active ? 'bg-muted' : 'hover:bg-muted/50'
}`;
@@ -64,7 +64,7 @@ export const NavPanel = () => {
const body = (
<>
-
- The development server, live at {frameWidth}px. Save to see a change here. -
); }; diff --git a/web/sections/LayoutPanel.tsx b/web/sections/LayoutPanel.tsx index 3a2fdd5..4a19310 100644 --- a/web/sections/LayoutPanel.tsx +++ b/web/sections/LayoutPanel.tsx @@ -71,10 +71,10 @@ type Layout = { /** The four roles styles.css declares. A template asks for a role; this decides which face plays it. */ const ROLES = [ - { key: 'font_title' as const, label: 'Headings', hint: 'Page and section titles' }, - { key: 'font_body' as const, label: 'Body', hint: 'Paragraphs and most text' }, - { key: 'font_sub' as const, label: 'Menu', hint: 'The navigation and small labels' }, - { key: 'font_display' as const, label: 'Display', hint: 'The largest statements' }, + { key: 'font_title' as const, label: 'Headings' }, + { key: 'font_body' as const, label: 'Body' }, + { key: 'font_sub' as const, label: 'Menu' }, + { key: 'font_display' as const, label: 'Display' }, ]; /** @@ -319,11 +319,9 @@ export const LayoutPanel = () => { every select, so the row said four times that a font was chosen and never which. Two columns give each one room to be read, which is the only thing this control is for. - The hint moves into the option list's own space rather than a line under each select, which - is where the second row of height was really going. */}