Commit efc89eb
fix(web): Fix search bar not taking full width in TopBar
The right section of the TopBar had flex-1 unconditionally, splitting
the bar into two equal halves. The SearchBar could only fill the left
50%, leaving a large empty gap. Now the right section uses shrink-0
when no centerContent is present, letting the SearchBar fill the
remaining width.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 4b4fe1b commit efc89eb
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments