1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

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

Regression in 96a598356a.

Follow up to e678046681 and
39d1e45227.
Backport of f5c5c571d3 from main
This commit is contained in:
Mariusz Felisiak
2023-03-24 20:47:34 +01:00
parent 870067e578
commit ded3334af6
2 changed files with 18 additions and 1 deletions

View File

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

View File

@@ -128,7 +128,9 @@ thead th.sorted .text {
form .aligned ul {
margin-right: 163px;
padding-right: 10px;
margin-left: 0;
padding-left: 0;
}
form ul.inline li {
@@ -143,12 +145,26 @@ form .aligned div.help {
padding-right: 10px;
}
form div.help ul,
form .aligned .checkbox-row + .help,
form .aligned p.datetime div.help.timezonewarning {
margin-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 {
text-align: right;
}