Skip to content

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: #950

haitao(lj)9d41b9cbc765
diff --git a/ui/src/pages/Questions/Detail/components/Answer/index.tsx b/ui/src/pages/Questions/Detail/components/Answer/index.tsx
index 5d59c8ca..cb8fc41e 100644
--- a/ui/src/pages/Questions/Detail/components/Answer/index.tsx
+++ b/ui/src/pages/Questions/Detail/components/Answer/index.tsx
@@ -78,8 +78,8 @@ const Index: FC<Props> = ({
{data?.adopted === 2 && (
<Button
disabled={!isAuthor}
- variant="success"
- className="ms-3"
+ variant="outline-success"
+ className="ms-3 active"
onClick={acceptAnswer}>
<Icon name="check-circle-fill" className="me-2" />
<span>{t('answers.btn_accepted')}</span>