Horizontal scroll on the paste view lived on the .code flex container, so scrolling long lines took the line number gutter out of view. Moved the scroll to the codebody (flex:1 1 auto; min-width:0; overflow-x:auto) with .code itself overflow-x:hidden; the gutter now sits outside the scroll container and stays visible.
Verified locally (CDP probes, wrap OFF + wrap ON, desktop 1400x900 and mobile 375x812): codebody scrollLeft 4534/2817px with the gutter pinned (x unchanged), zero gutter-to-line drift on wrap ON (20 lines, 20 rows), no horizontal scroll with wrap ON. go build and go test pass.
Fixes #261 (Fix attempt 1)
Horizontal scroll on the paste view lived on the .code flex container, so scrolling long lines took the line number gutter out of view. Moved the scroll to the codebody (flex:1 1 auto; min-width:0; overflow-x:auto) with .code itself overflow-x:hidden; the gutter now sits outside the scroll container and stays visible.
Verified locally (CDP probes, wrap OFF + wrap ON, desktop 1400x900 and mobile 375x812): codebody scrollLeft 4534/2817px with the gutter pinned (x unchanged), zero gutter-to-line drift on wrap ON (20 lines, 20 rows), no horizontal scroll with wrap ON. go build and go test pass.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #261 (Fix attempt 1)
Horizontal scroll on the paste view lived on the .code flex container, so scrolling long lines took the line number gutter out of view. Moved the scroll to the codebody (flex:1 1 auto; min-width:0; overflow-x:auto) with .code itself overflow-x:hidden; the gutter now sits outside the scroll container and stays visible.
Verified locally (CDP probes, wrap OFF + wrap ON, desktop 1400x900 and mobile 375x812): codebody scrollLeft 4534/2817px with the gutter pinned (x unchanged), zero gutter-to-line drift on wrap ON (20 lines, 20 rows), no horizontal scroll with wrap ON. go build and go test pass.