Commit 732f83e
fix: account for sticky file header in comment navigation scroll (#67)
When navigating between comments with [ ] in multi-file or git mode,
the scroll offset only subtracted the main app header height, leaving
the top of the comment card hidden behind the sticky file header.
Now also measures the target comment's .file-header height and adds
it to the scroll offset.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6c66422 commit 732f83e
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3451 | 3451 | | |
3452 | 3452 | | |
3453 | 3453 | | |
3454 | | - | |
| 3454 | + | |
| 3455 | + | |
| 3456 | + | |
| 3457 | + | |
3455 | 3458 | | |
3456 | 3459 | | |
3457 | 3460 | | |
| |||
0 commit comments