Patch #43822
closedUse logical CSS property in CommonMark help examples for RTL support
Description
In `app/views/help/wiki_syntax/common_mark/*/wiki_syntax_common_mark.html.erb`, the task list example uses `padding-left` in an inline style. This is a physical property and assumes an LTR layout.
Although this does not currently cause any RTL-related issues because those help files are for LTR languages, changing the physical property to the logical property `padding-inline-start` may reduce the risk of future layout issues in RTL languages. For example, if RTL-language help pages (such as Arabic or Persian versions) are later created based on the English version, using `padding-left` could cause incorrect indentation in task list examples.
The attached patch replaces `padding-left` with `padding-inline-start`, which also works in RTL layouts.
Files
Updated by Go MAEDA about 23 hours ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the patch in r24410.