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 textDecoration rules not applying correctly #5

Merged
merged 1 commit into from Feb 8, 2023

Conversation

chrissantamaria
Copy link
Contributor

It looks like rules such as no-underline (generating textDecorationLine: 'none') are not being applied properly, as react-pdf instead only accepts textDecoration. This PR updates them to generate textDecoration styles instead.

This technically goes against Tailwind's original classes which generates text-decoration-line, though given they're functionally identical in this context I think this should be okay.

@aanckar aanckar merged commit 8342261 into aanckar:main Feb 8, 2023
@aanckar
Copy link
Owner

aanckar commented Feb 8, 2023

Thanks for this!

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

2 participants