From 5825212440d7266e1d4ba9795d490f2b6a8c7f73 Mon Sep 17 00:00:00 2001 From: Johannes Hoppe Date: Mon, 9 Oct 2017 15:00:24 +0200 Subject: [PATCH] [2.0.x] Fixed #28685 -- Fixed awkward wrapping of Select2 chips. Backport of 3a191bd4abf9937e11504e66a7e5167910c0ab84 from master --- django/contrib/admin/static/admin/css/autocomplete.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/contrib/admin/static/admin/css/autocomplete.css b/django/contrib/admin/static/admin/css/autocomplete.css index c1a332d9ba..3ef95d15f0 100644 --- a/django/contrib/admin/static/admin/css/autocomplete.css +++ b/django/contrib/admin/static/admin/css/autocomplete.css @@ -122,8 +122,7 @@ select.admin-autocomplete { cursor: pointer; float: right; font-weight: bold; - margin-top: 5px; - margin-right: 10px; + margin: 5px; } .select2-container--admin-autocomplete .select2-selection--multiple .select2-selection__choice {