Skip to content

Commit 39823b5

Browse files
kubeclaude
andcommitted
Make TopBar title input fill available space
Replace fixed minWidth with flex: 1 so the title input expands to use all remaining space in the left section. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f47abac commit 39823b5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

libs/@hashintel/petrinaut/src/views/Editor/components/TopBar/floating-title.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ const floatingTitleInputStyle = css({
44
fontSize: "sm",
55
fontWeight: "medium",
66
color: "neutral.s120",
7-
minWidth: "[200px]",
7+
flex: "1",
8+
minWidth: "0",
89
borderRadius: "sm",
9-
padding: "[4px 8px]",
10+
px: "2",
11+
py: "1",
1012
_focus: {
1113
outline: "2px solid",
1214
outlineColor: "blue.s60",
13-
outlineOffset: "[0px]",
15+
outlineOffset: "0",
1416
},
1517
_placeholder: {
1618
color: "neutral.s100",

0 commit comments

Comments
 (0)