From 9e55a306eec5136ac10e3b215789306eaf320f2d Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Tue, 22 Mar 2022 16:30:48 +0000 Subject: [PATCH] select2-multiple: improve style --- app/webpacker/css/admin/select2.scss | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/app/webpacker/css/admin/select2.scss b/app/webpacker/css/admin/select2.scss index 8c6204bb96..8802d18bf8 100644 --- a/app/webpacker/css/admin/select2.scss +++ b/app/webpacker/css/admin/select2.scss @@ -42,4 +42,31 @@ } } } + + &.select2-container-multi { + .select2-search-field { + max-height: 20px; + input { + padding: 0 !important; + margin: 0 0 0 5px !important; + } + } + .select2-search-choice { + display: flex; + align-items: center; + justify-content: center; + padding-left: 7px; + + .select2-search-choice-close { + position: relative; + order: -1; + width: auto; + left: 0; + top: 0; + margin: 0; + padding: 0; + font-size: 100% !important; + } + } + } }