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

Added border x and y #1159

Closed
wants to merge 3 commits into from

Conversation

DavydeVries
Copy link
Contributor

@DavydeVries DavydeVries commented Oct 10, 2019

It's a little strange that there are classes like px- and py-.
But not border-x and border-y. This pull request adds this. I think this makes tailwind consistent.

I followed the contribution guide, but when I run npm test the test fails on the sanity.test.js on the compare with the output file. I'm not sure how to re-render this/how to let this test pass.

I tested this manually by copying /dist/tailwind.css to my own project and used classes like border-x, border-y, border-x-8, etc.

Edit:
After some digging through discord, I found that you have to add the differences manually in output and output important. (maybe add this to the contribution docs)

@hacknug
Copy link
Contributor

hacknug commented Oct 13, 2019

Related #182

@DavydeVries
Copy link
Contributor Author

My bad, didn't know that there was already an issue for.

@hacknug
Copy link
Contributor

hacknug commented Oct 15, 2019

No problem. Just leaving the link here so Adam doesn't have to go through everything when he sees this 👍

@adamwathan
Copy link
Member

Hey thanks @DavydeVries! As has been mentioned we've discussed this a bit before and decided not to include it, so going to stick with that decision for now. Always can re-open the conversation down the road if there's enough demand.

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

3 participants