Opened 13 years ago

Closed 13 years ago

Last modified 13 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

Description

.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 13 years ago.
Add margin-right: 0; to rtl.css

Download all attachments as: .zip

Change History (3)

by Remoun Metyas, 13 years ago

Add margin-right: 0; to rtl.css

comment:1 by Julien Phalip, 13 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Julien Phalip, 13 years ago

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