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

Fixed errors in showLineNumbers example. #203

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

Conversation

beamcode
Copy link
Contributor

@beamcode beamcode commented Apr 24, 2024

The example css did not work properly for conditional showLineNumbers.

Used the css from the website that shows the working example.

Previous sizing of 3rem for 3 digits was too large. Fixed it.
Added size for 4 digits.

Fixed error in the showLineNumbers example.
The example css did not work properly.

Used the css from the website that shows the working example.

- Line 45-53
https://github.com/rehype-pretty/rehype-pretty-code/blob/master/website/src/app/globals.css
Previous sizing for 3rem for 3 digits was too large.
Added for 4 digits
@beamcode beamcode changed the title Fixed error in showLineNumbers example. Fixed errors in showLineNumbers example. Apr 24, 2024
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.

None yet

1 participant