From 13a8e633c273530ebd8d93490a7341a8aabb7346 Mon Sep 17 00:00:00 2001 From: Mehdi Pourfar Date: Mon, 19 Sep 2016 17:59:13 +0430 Subject: [PATCH] Fixed #27158 -- Fixed positioning of admin's many-to-many widgets in rtl.css. --- django/contrib/admin/static/admin/css/rtl.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/django/contrib/admin/static/admin/css/rtl.css b/django/contrib/admin/static/admin/css/rtl.css index 8c1ceb4fd1..ef397815e6 100644 --- a/django/contrib/admin/static/admin/css/rtl.css +++ b/django/contrib/admin/static/admin/css/rtl.css @@ -166,6 +166,10 @@ thead th.sorted .text { margin-left: 5px; } +form .aligned p.help, form .aligned div.help { + clear: right; +} + form ul.inline li { float: right; padding-right: 0; @@ -226,6 +230,10 @@ form .form-row p.datetime { overflow: hidden; } +.related-widget-wrapper { + float: right; +} + /* MISC */ .inline-related h2, .inline-group h2 {