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

fix: remove unnecessary scrollbars on website when using firefox #110

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

george1410
Copy link
Contributor

This trick is used so that tailwind typography plugin doesn't add backticks around inline code, however it was adding a tiny bit of vertical scroll to code blocks unnecesarily when using firefox. Instead of setting content: "" !important we can use content: unset !important instead.

Before:
Screenshot 2023-10-01 at 20 18 06

After:
Screenshot 2023-10-01 at 20 18 16

@netlify
Copy link

netlify bot commented Oct 1, 2023

Deploy Preview for rehype-pretty-code ready!

Name Link
🔨 Latest commit c4f4aa5
🔍 Latest deploy log https://app.netlify.com/sites/rehype-pretty-code/deploys/6519c625e0e4d6000886ba59
😎 Deploy Preview https://deploy-preview-110--rehype-pretty-code.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@atomiks atomiks merged commit 75e5a90 into rehype-pretty:master Oct 2, 2023
5 checks passed
@atomiks
Copy link
Collaborator

atomiks commented Oct 2, 2023

Thank you!

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.

2 participants