From 6dae40839ba828b704eed1f0749c48a21bd88d78 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Tue, 9 Jan 2024 14:18:42 +0100 Subject: [PATCH] Fixed #35096 -- Corrected alignment for error lists in admin "wide" forms. Regression in be06c39abe80ca650e37810d16d15ff60e8c9727 (LTR) and b34a4771a3d4cd7829a1f38a0f6a7a0da519a724 (RTL). --- django/contrib/admin/static/admin/css/forms.css | 1 + django/contrib/admin/static/admin/css/rtl.css | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/django/contrib/admin/static/admin/css/forms.css b/django/contrib/admin/static/admin/css/forms.css index 5ba9d1ff1b..1d9fa9858e 100644 --- a/django/contrib/admin/static/admin/css/forms.css +++ b/django/contrib/admin/static/admin/css/forms.css @@ -195,6 +195,7 @@ fieldset .fieldBox { } form .wide p.help, +form .wide ul.errorlist, form .wide div.help { padding-left: 50px; } diff --git a/django/contrib/admin/static/admin/css/rtl.css b/django/contrib/admin/static/admin/css/rtl.css index 58ba97710b..bf636720fd 100644 --- a/django/contrib/admin/static/admin/css/rtl.css +++ b/django/contrib/admin/static/admin/css/rtl.css @@ -165,7 +165,9 @@ form .aligned p.time div.help.timezonewarning { padding-right: 0; } -form .wide p.help, form .wide div.help { +form .wide p.help, +form .wide ul.errorlist, +form .wide div.help { padding-left: 0; padding-right: 50px; }