Skip to content

Commit

Permalink
fix: avatar use rounded-circle class
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai committed Feb 14, 2025
1 parent 2a62dd2 commit adab096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/Avatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Index: FC<IProps> = ({
}

const roundedCls =
className && className.indexOf('rounded') !== -1 ? '' : 'rounded';
className && className.indexOf('rounded') !== -1 ? '' : 'rounded-circle';

return (
<>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/QuestionList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const QuestionList: FC<Props> = ({
<BaseUserCard
data={li.operator}
className="me-1"
avatarClass="me-2"
avatarClass="me-1"
/>
<FormatTime
Expand Down

0 comments on commit adab096

Please sign in to comment.