Skip to content

Commit

Permalink
fix: avatar border too large for circle or rounded avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyxguo committed Aug 22, 2023
1 parent 6244fd8 commit 4879043
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/styles/theme-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,17 @@
.diamond-avatar {
clip-path: polygon(50% 3%, 91% 25%, 91% 75%, 50% 97%, 9% 75%, 9% 25%);
}
.circle-avatar {
@apply rounded-full border-ob-deep-900;
.profile .circle-avatar,
.profile .rounded-avatar {
@apply border-ob-deep-900;
border-width: 6px;
}
.circle-avatar {
@apply rounded-full;

}
.rounded-avatar {
@apply rounded-2xl border-ob-deep-900;
border-width: 6px;
@apply rounded-2xl;
}

.animation-text {
Expand Down

0 comments on commit 4879043

Please sign in to comment.