1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 14:34:02 +00:00

fix item focus ring in compact mode

This commit is contained in:
William Martin
2024-11-04 13:24:57 -05:00
parent 903afddf76
commit 7978b712ce

View File

@@ -54,8 +54,10 @@ export class ItemComponent extends A11yRowDirective {
@HostBinding("class") get classList(): string[] {
return [
this.focusVisibleWithin()
? "tw-z-10 tw-rounded tw-outline-none tw-ring tw-ring-primary-600 tw-border-transparent"
? "tw-z-10 tw-rounded tw-outline-none tw-ring bit-compact:tw-ring-inset tw-ring-primary-600 tw-border-transparent".split(
" ",
)
: "tw-border-b-shadow",
];
].flat();
}
}