From b5747ee0706f998ecf8bf4a9462ed4b4a8d31261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A9sor=20ILOYI?= Date: Wed, 17 Jul 2024 10:13:08 +0200 Subject: [PATCH] fix(component/listbox): standardise focus status (#1605) --- packages/styles/components/_c.listbox.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/styles/components/_c.listbox.scss b/packages/styles/components/_c.listbox.scss index 9876f7731..080f7066a 100644 --- a/packages/styles/components/_c.listbox.scss +++ b/packages/styles/components/_c.listbox.scss @@ -38,7 +38,8 @@ position: relative; &:not(#{$selector-empty}):not(.is-disabled):hover, - &:has(.mc-listbox__input:focus) { + &:has(.mc-listbox__input:focus), + &:has(.mc-listbox__label:focus) { background-color: $color-listbox-tile-hover-background; box-shadow: inset 9px 0 0 -7px $color-listbox-tile-shadow; } @@ -88,6 +89,7 @@ color: currentColor; cursor: pointer; white-space: nowrap; + outline: transparent; @at-root button#{&} { background: none;