You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tailwind supports only a subset of logical properties - utilities based on inline-axis:
✅ margin-inline-start → → → ms-*
✅ margin-inline-end → → → → me-*
✅ padding-inline-start → → → ps-*
✅ padding-inline-end → → → → pe-*
✅ border-inline-start-width → border-s-*
✅ border-inline-end-width → → border-e-*
✅ inset-inline-start → → → → start-*
✅ inset-inline-end → → → → → end-*
However, it does NOT support any block-axis properties:
❌ margin-block-start
❌ margin-block-end
❌ padding-block-start
❌ padding-block-end
❌ border-inline-start-width
❌ border-inline-end-width
❌ inset-block-start
❌ inset-block-end
Previous issues to improve logical properties mainly focus on improving LTR/RTL support, but it's only a subset of logical properties. Tailwind is missing a significant portion of the logical spec.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Tailwind supports only a subset of logical properties - utilities based on inline-axis:
margin-inline-start→ → →ms-*margin-inline-end→ → → →me-*padding-inline-start→ → →ps-*padding-inline-end→ → → →pe-*border-inline-start-width→border-s-*border-inline-end-width→ →border-e-*inset-inline-start→ → → →start-*inset-inline-end→ → → → →end-*However, it does NOT support any block-axis properties:
margin-block-startmargin-block-endpadding-block-startpadding-block-endborder-inline-start-widthborder-inline-end-widthinset-block-startinset-block-endPrevious issues to improve logical properties mainly focus on improving LTR/RTL support, but it's only a subset of logical properties. Tailwind is missing a significant portion of the logical spec.
Beta Was this translation helpful? Give feedback.
All reactions