A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: avatar use rounded-circle class
shuaiadab09631992
diff --git a/ui/src/components/Avatar/index.tsx b/ui/src/components/Avatar/index.tsxindex f5616c85..357beb0c 100644--- a/ui/src/components/Avatar/index.tsx+++ b/ui/src/components/Avatar/index.tsx@@ -54,7 +54,7 @@ const Index: FC<IProps> = ({}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.tsxindex 7585c52a..5399da70 100644--- a/ui/src/components/QuestionList/index.tsx+++ b/ui/src/components/QuestionList/index.tsx@@ -144,7 +144,7 @@ const QuestionList: FC<Props> = ({<BaseUserCarddata={li.operator}className="me-1"- avatarClass="me-2"+ avatarClass="me-1"/>•<FormatTime