From 36fd982263628b431512c89140f8c331f12abebe Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Mon, 23 Sep 2024 12:04:48 -0400 Subject: [PATCH] backport SL2146 --- src/components/select/select.styles.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/select/select.styles.ts b/src/components/select/select.styles.ts index 33d53e7d9..28082787b 100644 --- a/src/components/select/select.styles.ts +++ b/src/components/select/select.styles.ts @@ -234,20 +234,17 @@ export default css` border-radius: var(--wa-border-radius-pill); } - /* Prefix */ - .select__prefix { + /* Prefix and Suffix */ + .select__prefix, + .select__suffix { flex: 0; display: inline-flex; align-items: center; color: var(--wa-color-neutral-on-quiet); } - /* Suffix */ - .select__suffix { - flex: 0; - display: inline-flex; - align-items: center; - color: var(--wa-form-control-placeholder-color); + .select__suffix::slotted(*) { + margin-inline-start: var(--sl-spacing-small); } /* Clear button */