Skip to content

Commit

Permalink
refactor(avatar): change css class name
Browse files Browse the repository at this point in the history
  • Loading branch information
HamudeHomsi committed Jun 30, 2023
1 parent 2c7fd2d commit add1b71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bee-q/src/components/avatar/bq-avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class BqAvatar {
<Host>
<div
class={{
avatar: true,
'bq-avatar': true,
[`size--${this.size}`]: true,
'rounded-[var(--bq-avatar--border-radius-circle)]': this.shape === 'circle',
'rounded-[var(--bq-avatar--border-radius-squareXs)]': this.shape === 'square' && this.size === 'xsmall',
Expand Down
2 changes: 1 addition & 1 deletion packages/bee-q/src/components/avatar/scss/bq-avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@apply relative inline-block;
}

.avatar {
.bq-avatar {
@apply relative overflow-hidden bg-[var(--bq-avatar-background)];
@apply border-[length:var(--bq-avatar--border-width)] border-[color:var(--bq-avatar--border-color)];

Expand Down

0 comments on commit add1b71

Please sign in to comment.