mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
The tick is a box rotated 40 degrees, drawn by its bottom and side borders, and the side was border-inline-end. A right-to-left page puts that on the left, so the rotated corner opened the other way and every checked checkbox showed "<" - the Admin Panel's bounced-email table in Persian, in the issue. A check mark is not mirrored in a right-to-left language, so all 25 rules that draw one - the shared materialCheckBox, checklists, subtasks, the sidebar, the Admin Panel and every board theme's colour - use border-right and border-left now. Where the box sits stays logical. tests/rtlCheckMark.test.cjs fails if any checked state anywhere in client/ draws its tick with a logical border. tests/playwright/specs/rtl-check-mark.e2e.js compares the computed borders in ltr and rtl. customFieldsSectionMenu's guard now expects border-right, and its comment says why. Thanks to mimZD and xet7 ! Fixes #6786.