Repository navigation
Commit db45048
committed
fix(web): thread title button no longer eats the drag area
The title button introduced in #5592 carried over `flex-1` from the previous <h2>, so the clickable area stretched all the way toward the right-side controls. The title text didn't visibly expand, but the invisible button area meant the empty title bar could no longer be grabbed to move the window on existing/server threads. Drafts were unaffected because they still render a plain <h2>.
Drop `flex-1` from the server-thread title button. The button still has `min-w-0` so it can shrink, and the inner <h2> keeps `truncate`, so long titles continue to ellipsize correctly.
Fixes #5631
Generated with opencode-go/minimax-m31 parent 1a003e3 commit db45048
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
0 commit comments