1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #34316 -- Fixed layout of admin password change forms and help texts for RTL languages.

Regression in 96a598356a.

Follow up to e678046681 and
39d1e45227.
This commit is contained in:
Mariusz Felisiak 2023-03-24 20:47:34 +01:00 committed by GitHub
parent cffcf0ef17
commit f5c5c571d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -69,7 +69,8 @@
margin-right: 15px; margin-right: 15px;
} }
[dir="rtl"] .aligned ul { [dir="rtl"] .aligned ul,
[dir="rtl"] form .aligned ul.errorlist {
margin-right: 0; margin-right: 0;
} }

View File

@ -128,7 +128,9 @@ thead th.sorted .text {
form .aligned ul { form .aligned ul {
margin-right: 163px; margin-right: 163px;
padding-right: 10px;
margin-left: 0; margin-left: 0;
padding-left: 0;
} }
form ul.inline li { form ul.inline li {
@ -143,12 +145,26 @@ form .aligned div.help {
padding-right: 10px; padding-right: 10px;
} }
form div.help ul,
form .aligned .checkbox-row + .help, form .aligned .checkbox-row + .help,
form .aligned p.datetime div.help.timezonewarning { form .aligned p.datetime div.help.timezonewarning {
margin-right: 0; margin-right: 0;
padding-right: 0; padding-right: 0;
} }
form .wide p.help, form .wide div.help {
padding-left: 0;
padding-right: 50px;
}
form .wide p,
form .wide ul.errorlist,
form .wide input + p.help,
form .wide input + div.help {
margin-right: 200px;
margin-left: 0px;
}
.submit-row { .submit-row {
text-align: right; text-align: right;
} }