Commit 20dc954
fix(grid): Dynamic row number column width for large datasets
The row number column was fixed at 50px, which caused the pin icon
to overflow/disappear when row numbers exceeded 99 (3+ digits).
Fix:
- Calculate row number width dynamically based on max row number
- Formula: 36px base + 8px per digit
- Examples: 50 (rows 1-99), 52 (100-999), 60 (1000-9999)
This ensures the pin icon remains visible and clickable regardless
of how many rows are displayed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c11366b commit 20dc954
3 files changed
Lines changed: 31 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
354 | 359 | | |
355 | 360 | | |
356 | 361 | | |
| |||
0 commit comments