mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Refs #34316 -- Fixed layout of admin password change forms and help texts for RTL languages.
Regression in96a598356a
. Follow up toe678046681
and39d1e45227
.
This commit is contained in:
parent
cffcf0ef17
commit
f5c5c571d3
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user