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

refactor: switch to logical border properties #1291

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Robbert
Copy link
Member

@Robbert Robbert commented Sep 29, 2022

It would be better to use the logical properties for CSS borders, just like we already do for margins and paddings. This PR refactors the existing code and requires a styleling-ignore exceptions for rare cases where avoiding logical properties is essential.

Currently there is one issue with this: logical properties don't play well with automatically ordering the CSS properties using stylelint-order. I have made a PR that hopefully will resolve this issue so we can merge the refactoring:
hudochenkov/stylelint-order#162

@vercel
Copy link

vercel bot commented Sep 29, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
utrecht ✅ Ready (Inspect) Visit Preview Sep 29, 2022 at 10:45AM (UTC)

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

1 participant