Line numbers overhang when editing long lines without line wrap

Windows 10. Obsidian Dark Theme. Third-party CSS & plugins were disabled to confirm.

Inserting a long element that does not line-wrap, such as a table, causes the line number gutter to overhang when horizontally scrolled to the right.

For example, insert the following long MD table into an MD file and horizontally scroll:

| table header | table header 2 | table header 3 | table header 4 | table header 5 | table header 6 | table header 7 | table header 8 | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| ------------ | -------------- | -------------- | -------------- | -------------- | -------------- | -------------- | -------------- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

The bug should appear similarly to the below:

overhang_gutter

this is old one. You should have search better.

A post was merged into an existing topic: Line Numbers and long lines