Fixed #32322 -- Fixed autocomplete widget wrapping.

This commit is contained in:
Viktor Grabov 2021-01-06 11:32:13 +03:00 committed by GitHub
parent ec6d2531c5
commit 6a054f7681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -935,6 +935,7 @@ answer newbie questions, and generally made Django that much better:
Victor Andrée
viestards.lists@gmail.com
Viktor Danyliuk <v.v.danyliuk@gmail.com>
Viktor Grabov <viktor@grabov.ru>
Ville Säävuori <https://www.unessa.net/>
Vinay Karanam <https://github.com/vinayinvicible>
Vinay Sajip <vinay_sajip@yahoo.co.uk>

View File

@ -104,8 +104,10 @@ select.admin-autocomplete {
box-sizing: border-box;
list-style: none;
margin: 0;
padding: 0 5px;
padding: 0 10px 5px 5px;
width: 100%;
display: flex;
flex-wrap: wrap;
}
.select2-container--admin-autocomplete .select2-selection--multiple .select2-selection__rendered li {
@ -123,6 +125,8 @@ select.admin-autocomplete {
float: right;
font-weight: bold;
margin: 5px;
position: absolute;
right: 0;
}
.select2-container--admin-autocomplete .select2-selection--multiple .select2-selection__choice {