ahangarha

joined 4 years ago
[โ€“] [email protected] 2 points 11 months ago

This is not RTL support but support for ways to explicitly set styles based on the direction.

Better than using rtl:ml-4 is to use ms-4 which stands for margin-inline-start: .... Prefer logical properties over physical ones. But that is not possible in all cases. There, rtl: and ltr: prefix come handy.

[โ€“] [email protected] -1 points 1 year ago* (last edited 1 year ago) (2 children)

Moving to Tailwindcss make it hard to implement bidirectional text support unless we define new rules to use logical styles.