From adab0963199259848f1a43e80bfbfbaa602725f6 Mon Sep 17 00:00:00 2001 From: shuai Date: Fri, 14 Feb 2025 15:46:31 +0800 Subject: [PATCH] fix: avatar use rounded-circle class --- ui/src/components/Avatar/index.tsx | 2 +- ui/src/components/QuestionList/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/Avatar/index.tsx b/ui/src/components/Avatar/index.tsx index f5616c850..357beb0cb 100644 --- a/ui/src/components/Avatar/index.tsx +++ b/ui/src/components/Avatar/index.tsx @@ -54,7 +54,7 @@ const Index: FC = ({ } const roundedCls = - className && className.indexOf('rounded') !== -1 ? '' : 'rounded'; + className && className.indexOf('rounded') !== -1 ? '' : 'rounded-circle'; return ( <> diff --git a/ui/src/components/QuestionList/index.tsx b/ui/src/components/QuestionList/index.tsx index 7585c52a2..5399da709 100644 --- a/ui/src/components/QuestionList/index.tsx +++ b/ui/src/components/QuestionList/index.tsx @@ -144,7 +144,7 @@ const QuestionList: FC = ({