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:
@@ -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",
|
||||
|
||||
@@ -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} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user