Merge remote-tracking branch 'origin/main' into nwparker/instant-creation-draft-safety

This commit is contained in:
Neil
2026-09-05 12:22:38 -07:00
2 changed files with 3 additions and 3 deletions
@@ -188,10 +188,10 @@ function expectTabContainerWidth(markup: string, root: string): void {
const container = firstOpeningTag(markup)
// Why: pinned literally — a definite `w-*` is what stops live title updates from resizing
// every tab, so asserting against the constant would let that guarantee be edited away.
const widthClasses = 'w-[180px] min-w-[88px] min-[1280px]:w-[220px]'
const widthClasses = 'w-[180px] min-w-[72px] min-[1280px]:w-[220px]'
expect(container).toContain(widthClasses)
expect(root).not.toContain('w-[180px]')
expect(root).not.toContain('min-w-[88px]')
expect(root).not.toContain('min-w-[72px]')
expect(root).not.toContain('min-[1280px]:w-[220px]')
}
@@ -1,5 +1,5 @@
// Why: the strip shrink-wraps its tabs, so a content-derived width lets one live title update
// resize every tab; a definite width pins them and flex-shrink still narrows to the floor.
export const TAB_CONTAINER_WIDTH_CLASSES = 'w-[180px] min-w-[88px] min-[1280px]:w-[220px]'
export const TAB_CONTAINER_WIDTH_CLASSES = 'w-[180px] min-w-[72px] min-[1280px]:w-[220px]'
export const TAB_LABEL_WIDTH_CLASSES = 'min-w-0 flex-1 truncate'