1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 10:33:31 +00:00

fix things from merges and changes

This commit is contained in:
Vicki League
2026-02-27 11:06:22 -05:00
parent c3dc748bb8
commit ec8803ea25
4 changed files with 2 additions and 6 deletions

View File

@@ -76,8 +76,6 @@ export function isAvatarColor(color: string | undefined): color is AvatarColor {
templateUrl: "avatar.component.html",
changeDetection: ChangeDetectionStrategy.OnPush,
host: {
"(mouseenter)": "isHovering.set(true)",
"(mouseleave)": "isHovering.set(false)",
class:
"tw-leading-[0px] focus-visible:tw-outline-none tw-rounded-full focus-visible:tw-ring-2 focus-visible:tw-ring-offset-1 focus-visible:tw-ring-border-focus !focus-visible:tw-border-[transparent] focus-visible:tw-z-10 tw-group/avatar aria-disabled:tw-cursor-not-allowed",
"[style.--avatar-bg]": "avatarBgColors().avatarBgColor",

View File

@@ -38,8 +38,7 @@ is rare for an avatar button to be inactive, this state is supported as well.
## Sizes
There are multiple sizes available for the Avatar:
`"2xlarge" | "xlarge" | "large" | "base" | "small"`
There are multiple sizes available for the Avatar: `"2xl" | "xl" | "lg" | "base" | "sm"`
<Canvas of={stories.Sizes} />