From b34a4771a3d4cd7829a1f38a0f6a7a0da519a724 Mon Sep 17 00:00:00 2001 From: Tom Carrick Date: Thu, 30 Nov 2023 11:27:45 +0100 Subject: [PATCH] Fixed #35003 -- Corrected margins in admin for RTL languages. --- django/contrib/admin/static/admin/css/rtl.css | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/django/contrib/admin/static/admin/css/rtl.css b/django/contrib/admin/static/admin/css/rtl.css index 307606f156..48f08a3e73 100644 --- a/django/contrib/admin/static/admin/css/rtl.css +++ b/django/contrib/admin/static/admin/css/rtl.css @@ -151,6 +151,7 @@ form ul.inline li { form .aligned p.help, form .aligned div.help { + margin-left: 0; margin-right: 160px; padding-right: 10px; } @@ -169,14 +170,6 @@ form .wide p.help, form .wide div.help { 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; }