Skip to content
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

Add gutter background color to prevent text collision on overflow bug #327

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

ukorvl
Copy link
Member

@ukorvl ukorvl commented Nov 25, 2024

This diff fixes the issue with code field long text collision with line numbers text.
The solution is a bit hacky to overcome the limitations of Styletron that we use under the hood. It does not support simple selector, but supports pseudo-elements combined with simple selectors.

@ukorvl ukorvl self-assigned this Nov 25, 2024
@ukorvl ukorvl merged commit 5bac71a into master Nov 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant