Skip to content

Fix line numbers not aligning with lines #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ViscousPot
Copy link

@ViscousPot ViscousPot commented Aug 5, 2025

What type of PR is this?

  • 🐛 Bug Fix

Description

Line numbers now scroll with the code lines
The padding has been fixed so that

  • the line numbers align with the code
  • the line numbers cut off at the same point as the code while scrolling

_numberScroll actually already existed and was setup for the scroll syncing so I assume the functionality was lost along the way

Added tests?

  • 🙅 no, because they aren't needed

Added to documentation?

  • 🙅 No documentation needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant