kopia lustrzana https://github.com/shoelace-style/shoelace
fix menu selection in WHC
rodzic
36e677dd6b
commit
b296ac08cf
|
@ -66,6 +66,14 @@ export default css`
|
|||
color: var(--sl-color-neutral-0);
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
:host(:hover:not([aria-disabled='true'])) .menu-item,
|
||||
:host(:focus-visible:not(.sl-focus-invisible):not([aria-disabled='true'])) .menu-item {
|
||||
outline: dashed 1px SelectedItem;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-item .menu-item__check,
|
||||
.menu-item .menu-item__chevron {
|
||||
flex: 0 0 auto;
|
||||
|
|
Ładowanie…
Reference in New Issue