From 4ffb90f6625b899cae9cd9426f659096fde71bcb Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Wed, 30 Oct 2024 12:31:33 +1300 Subject: [PATCH 1/3] Select2: Stretch Remove Button Height --- base/css/admin.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/css/admin.less b/base/css/admin.less index 65c700127..c60542e62 100644 --- a/base/css/admin.less +++ b/base/css/admin.less @@ -170,6 +170,10 @@ div.siteorigin-widget-form { .select2 { width: 100% !important; + .select2-selection__choice__remove { + height: 100%; + } + .select2-selection--multiple { align-items: center; background-color: #fff; From 6f02a40aa310323a17118d713bb781f6d86110ea Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Tue, 12 Nov 2024 18:47:34 +1300 Subject: [PATCH 2/3] Select2: Adjust Close Icon Placement --- base/css/admin.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base/css/admin.less b/base/css/admin.less index c60542e62..d08268c99 100644 --- a/base/css/admin.less +++ b/base/css/admin.less @@ -172,6 +172,11 @@ div.siteorigin-widget-form { .select2-selection__choice__remove { height: 100%; + + span { + position: relative; + top: -1.75px; + } } .select2-selection--multiple { From 99c7382cac0971bdaab0f6b8e5742e327b7b2468 Mon Sep 17 00:00:00 2001 From: Alex S <17275120+AlexGStapleton@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:43:20 +1300 Subject: [PATCH 3/3] Select2: Adjust Close Icon Vertical Alignment --- base/css/admin.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/css/admin.less b/base/css/admin.less index d08268c99..bc22220ba 100644 --- a/base/css/admin.less +++ b/base/css/admin.less @@ -174,8 +174,9 @@ div.siteorigin-widget-form { height: 100%; span { - position: relative; - top: -1.75px; + display: inline-block; + margin-top: 8px; + transform: translateY(-50%); } }