Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#17019 closed Uncategorized (fixed)

Admin RTL CSS doesn't reset left margin on .field-box

Reported by: Remoun Metyas Owned by: nobody
Component: Internationalization Version: 1.3
Severity: Normal Keywords: RTL, CSS, admin
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes


.field-box has margin-right set by forms.css, and rtl.css sets an equal margin-left. This makes rows with multiple fields indented than rows with one field.

Patch attached to reset margin-right: 0; in rtl.css

Attachments (1)

django_admin_rtl_margin.diff (383 bytes) - added by Remoun Metyas 7 years ago.
Add margin-right: 0; to rtl.css

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Remoun Metyas

Add margin-right: 0; to rtl.css

comment:1 Changed 7 years ago by Julien Phalip

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 7 years ago by Julien Phalip

Resolution: fixed
Status: newclosed

In [16947]:

Fixed #17019 -- Fixed a minor margin issue in multi-field admin form rows for right-to-left languages. Thanks to rem for the report and patch.

Note: See TracTickets for help on using tickets.
Back to Top