From 77ed1548f200c2cd64b3e1c96ac884426bdcfa86 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 1 May 2015 09:22:44 -0400 Subject: [PATCH] [1.8.x] Fixed #24676 -- Fixed help text positioning in ``contrib.admin`` filter_* widgets. Backport of 2c3ce26beb254101f12fa69cc341ba9aeae62029 from master --- django/contrib/admin/static/admin/css/widgets.css | 3 +++ docs/releases/1.8.1.txt | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/django/contrib/admin/static/admin/css/widgets.css b/django/contrib/admin/static/admin/css/widgets.css index 1a7ccc1e258..0ca42e60886 100644 --- a/django/contrib/admin/static/admin/css/widgets.css +++ b/django/contrib/admin/static/admin/css/widgets.css @@ -578,6 +578,9 @@ ul.orderer li.deleted:hover, ul.orderer li.deleted a.selector:hover { } /* RELATED WIDGET WRAPPER */ +.related-widget-wrapper { + overflow: hidden; /* clear floated contents */ +} .related-widget-wrapper-link { opacity: 0.3; diff --git a/docs/releases/1.8.1.txt b/docs/releases/1.8.1.txt index 39277b8f2f8..59e19a47040 100644 --- a/docs/releases/1.8.1.txt +++ b/docs/releases/1.8.1.txt @@ -80,6 +80,10 @@ Bugfixes * Fixed ``makemessages`` crash in some locales (:ticket:`23271`). +* Fixed help text positioning of ``contrib.admin`` fields that use the + ``ModelAdmin.filter_horizontal`` and ``filter_vertical`` options + (:ticket:`24676`). + Optimizations =============