diff --git a/app/src/components/notes/NoteEditor.tsx b/app/src/components/notes/NoteEditor.tsx index fa230db..8384249 100644 --- a/app/src/components/notes/NoteEditor.tsx +++ b/app/src/components/notes/NoteEditor.tsx @@ -30,21 +30,29 @@ export default function NoteEditor({ }: Props) { return (
-
+ {/* Wraps rather than overflows. The two buttons are a group with a fixed + appetite (~190px) and the title field can shrink only so far, so in a + narrow dock the title takes the first row and the buttons the second. + Without the wrap the group is simply clipped by the dock's + `overflow-hidden`, which puts Delete off-window with no scrollbar to + reach it. */} +
onTitleChange(e.target.value)} onBlur={onCommit} placeholder="Note title" aria-label="Note title" - className="flex-1 min-w-0 px-2 h-8 bg-[var(--bg-primary)] border border-[var(--border-color)] rounded-[var(--radius-control)] text-[13px] text-[var(--text-primary)] focus:border-[var(--accent)] transition-colors" + className="flex-1 min-w-24 px-2 h-8 bg-[var(--bg-primary)] border border-[var(--border-color)] rounded-[var(--radius-control)] text-[13px] text-[var(--text-primary)] focus:border-[var(--accent)] transition-colors" /> - {/* The live editor text, not `note.body` — what is on screen is what - gets sent. */} - - +
+ {/* The live editor text, not `note.body` — what is on screen is what + gets sent. */} + + +