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: remove broken LTR fallbacks. Fix #18 #19

Merged

Conversation

larsenwork
Copy link
Contributor

Removes LTR only fallbacks as they break in RTL context and postcss-logical is already a better solution for fallbacks. This simplifies the plugin and makes it more predictable (I humbly hope 😄)

Closes #18

I've tried it out in a private repo and works just as expected.

Copy link
Owner

@thibaudcolas thibaudcolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @larsenwork, completely agree with you here. Change looks spot on aside from the extra comment needing updating.

@thibaudcolas thibaudcolas force-pushed the fix/remove-broken-rtl-fallbacks branch from b79e6f3 to 593d609 Compare December 8, 2022 20:53
@thibaudcolas thibaudcolas changed the title fix: remove broken LTR fallbacks fix: remove broken LTR fallbacks. Fix #18 Dec 8, 2022
@thibaudcolas thibaudcolas merged commit 8504936 into thibaudcolas:main Dec 8, 2022
@thibaudcolas thibaudcolas added the bug Something isn't working label Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fallbacks for rounded values break in rtl context
2 participants