Commit cd789d8
fix(search-results, shell): rail rows fit the rail; flow resize-drag tracks the pointer 1:1
Two more live-use findings on the queue evening.
Rail overflow (search-results): grid/flex children default to
min-width:auto and refuse to shrink below content, so a long nowrap
result title pushed the whole card wider than the rail — cutting off
the right side, ➕ included. min-width:0 down the list chains,
overflow-x hidden on the rail, overflow-wrap on snippets; titles now
ellipsize inside the 340px rail and every ➕ is reachable.
Flow resize-drag (shell): the focused-panel edge drag computed width as
distance-from-stage-centre × 2, which assumes a centred panel — on the
rotation's first/last step it jumped ~10% the instant you grabbed and
tracked 2× per pixel; mid-drag the pointer also crossed the peek
overlay, whose hover-expand fought the drag geometry. Now the dragged
edge's stage position maps per-arrangement (centred → symmetric
doubling; edge-anchored → the position IS the width), the edge takes
pointer capture, hover-expand is suppressed while resizing, and only
sides that actually border a peek render an edge. Verified live:
pointer at 50/65/80% of the stage → panel at exactly 50/65/80%.
Files changed:
- apps/search-results/src/app.css
- shell/src/App.svelte
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013u3i9BoKeZRndqToQ3M5Q51 parent 88197ed commit cd789d8
2 files changed
Lines changed: 45 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
14 | 27 | | |
15 | 28 | | |
16 | 29 | | |
| |||
80 | 93 | | |
81 | 94 | | |
82 | 95 | | |
83 | | - | |
| 96 | + | |
84 | 97 | | |
85 | 98 | | |
86 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
245 | 246 | | |
246 | | - | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
285 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
286 | 294 | | |
287 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
288 | 301 | | |
289 | 302 | | |
290 | 303 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
295 | 307 | | |
296 | 308 | | |
297 | 309 | | |
| |||
657 | 669 | | |
658 | 670 | | |
659 | 671 | | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
667 | 685 | | |
668 | 686 | | |
669 | 687 | | |
| |||
0 commit comments