Moving to Tailwindcss make it hard to implement bidirectional text support unless we define new rules to use logical styles.
Mostafa Ahangarha
Full-stack web developer (Ruby, Rails, React), Software Freedom Advocate
- 3 Posts
- 2 Comments
Joined 6 years ago
Cake day: March 13th, 2020
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
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 usems-4
which stands formargin-inline-start: ...
. Prefer logical properties over physical ones. But that is not possible in all cases. There,rtl:
andltr:
prefix come handy.