aanckar / react-pdf-tailwind

Use Tailwind CSS to style PDFs created with react-pdf
315 stars 11 forks source link

Support `gap` property #4

Closed chrissantamaria closed 1 year ago

chrissantamaria commented 1 year ago

👋 really enjoying using this project!

I noticed that @react-pdf/renderer@3.1.0 recently added support for the gap property, so I implemented basic support for this package, including gap-x and gap-y variants. Seems to behave the same as other spacing utilities like mr.

Happy to make any changes - thanks!

aanckar commented 1 year ago

Thanks for adding this!