Repository navigation
Commit 7723649
refactor(web): one wrap width for tooltips, plus a code variant
Multi-line tooltips set their own max-width and line-height through
className in eight combinations, and path or command tooltips each
re-declared the same monospace treatment. TooltipPopup now wraps prose at
max-w-80 with one line-height, and variant="code" renders monospace at
max-w-120 breaking anywhere. The 60 call sites drop their classes.
Dialog and alert-dialog titles also gain wrap-anywhere in the base, since
any of them can interpolate a path.
Visible effect: tooltips that wrapped at 16, 18, 24 or 30rem now wrap at
20rem; wrapped tooltips share one line-height.
Lowers the no-restyle ceiling from 1207 to 1147.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent 6d94dc3 commit 7723649
38 files changed
Lines changed: 60 additions & 153 deletions
File tree
- apps/web/src
- components
- chat
- cloud
- files
- media
- onboarding
- pullRequest
- settings
- ui
- usage
- routes
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
921 | | - | |
| 921 | + | |
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2209 | 2209 | | |
2210 | 2210 | | |
2211 | 2211 | | |
2212 | | - | |
2213 | | - | |
2214 | | - | |
2215 | | - | |
| 2212 | + | |
2216 | 2213 | | |
2217 | 2214 | | |
2218 | 2215 | | |
| |||
3062 | 3059 | | |
3063 | 3060 | | |
3064 | 3061 | | |
3065 | | - | |
3066 | | - | |
3067 | | - | |
3068 | | - | |
3069 | | - | |
3070 | | - | |
| 3062 | + | |
3071 | 3063 | | |
3072 | 3064 | | |
3073 | 3065 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6533 | 6533 | | |
6534 | 6534 | | |
6535 | 6535 | | |
6536 | | - | |
| 6536 | + | |
6537 | 6537 | | |
6538 | 6538 | | |
6539 | 6539 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
| 240 | + | |
246 | 241 | | |
247 | 242 | | |
248 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
662 | | - | |
| 662 | + | |
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
788 | | - | |
789 | | - | |
790 | | - | |
| 788 | + | |
791 | 789 | | |
792 | 790 | | |
793 | 791 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
| 166 | + | |
169 | 167 | | |
170 | 168 | | |
171 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
0 commit comments