awssat / tailwindo

🔌 Convert Bootstrap CSS code to Tailwind CSS code
MIT License
1.09k stars 108 forks source link

Feature/fix spacings (add more accurate and tested conversion of margin/padding) #25

Closed benno5020 closed 4 years ago

benno5020 commented 4 years ago

Sorry for opening another pull request, I mistakenly sent my first one from my master branch, thinking it would be my only contribution.

Original message:

Hey there! First of all, thank you for writing this tool!

Let me also preface this by mentioning that I am just starting out with tailwind, so excuse me if I'm fixing something that's not actually broken.

The problem:

When I converted my bootstrap project to tailwind, I noticed that tailwindo 'py-lg-0' returned Converted Code: 'lg:py-2'. This didn't seem correct, 'lg:py-0' was expected.

I was tempted to just open an issue but then curiosity got the better of me and I tried fixing it myself.

What I have done to fix it:

Hope this helps 🙂

abdumu commented 4 years ago

Thanks.