From cf689be64af4c4fc1cced4d9d62abbdbe4bca966 Mon Sep 17 00:00:00 2001 From: LionelB Date: Wed, 3 Apr 2024 17:49:11 +0200 Subject: [PATCH] fix(multiselect): move icon into flow to avoid text overflow --- addon/styles/_pix-multi-select.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addon/styles/_pix-multi-select.scss b/addon/styles/_pix-multi-select.scss index 59638831c..b50444983 100644 --- a/addon/styles/_pix-multi-select.scss +++ b/addon/styles/_pix-multi-select.scss @@ -17,7 +17,9 @@ position: relative; display: flex; + gap: var(--pix-spacing-1x); align-items: center; + justify-content: space-between; width: 100%; padding: var(--pix-spacing-2x) var(--pix-spacing-3x); color: var(--pix-neutral-900); @@ -56,9 +58,6 @@ &__dropdown-icon { @extend %pix-body-s; - position: absolute; - top: calc(50% - 6px); - right: 10px; color: var(--pix-neutral-900); pointer-events: none; }