1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 02:23:25 +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

@@ -31,7 +31,6 @@
<td bitCell>
<div class="tw-flex tw-items-center">
<bit-avatar
size="sm"
[text]="u | userName"
[id]="u.userId"
[color]="u.avatarColor"

View File

@@ -19,7 +19,7 @@
</div>
<div class="tw-col-span-12 @3xl:tw-col-span-6 tw-row-start-1 @3xl:tw-row-start-auto">
<div class="tw-mb-3 tw-flex tw-align-middle tw-items-center">
<dynamic-avatar text="{{ profile | userName }}" [id]="profile.id" size="2xlarge">
<dynamic-avatar text="{{ profile | userName }}" [id]="profile.id" size="2xl">
</dynamic-avatar>
<button
class="tw-ml-3"

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} />