1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-06 19:32:22 +04:00
Files
tabler/.changeset/migrate-css-logical-properties.md
2026-08-05 01:58:04 +02:00

684 B

@tabler/core
@tabler/core
patch

Migrated all physical CSS direction properties to logical properties (padding-inline, margin-inline, inset-inline, float: inline-start/inline-end, text-align: start/end) for improved RTL support and reduced RTL stylesheet generation overhead.

Directional transforms, which have no logical equivalent, now use a --tblr-dir direction multiplier (1 in LTR, -1 under [dir="rtl"]), e.g. translateX(calc(var(--tblr-dir) * 4px)). These declarations are identical in tabler.css and tabler.rtl.css — the flip happens at runtime via the dir attribute, so RTL transforms now also work when using plain tabler.css with dir="rtl".