mirror of
https://github.com/Zakkaus/doona.git
synced 2026-12-05 16:02:03 +00:00
With the preference on, the shell and the first-paint stamp set dir="rtl" and data-mirror while lang stays as it is, so a reload paints no left-to-right frame, and I18nProvider gets the direction so React Aria's keys, popovers and toasts turn with the page. Under data-mirror every box takes its text direction from its text, so labels, times and parentheses keep their order, and the page aligns to the right. Chrome treats match-parent as inherit, so the right is set on the root and the few boxes that align to start or end name their side.