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: content add text-break class
shuai68f7fa6ddc5d
diff --git a/ui/src/components/Comment/index.tsx b/ui/src/components/Comment/index.tsxindex 5cc10c76..028c84bf 100644--- a/ui/src/components/Comment/index.tsx+++ b/ui/src/components/Comment/index.tsx@@ -258,7 +258,7 @@ const Comment = ({ objectId, mode, commentId }) => {)}<div- className="fmt fs-14"+ className="fmt fs-14 text-break text-wrap"dangerouslySetInnerHTML={{ __html: item.parsed_text }}/></div>diff --git a/ui/src/pages/Questions/Detail/components/Answer/index.tsx b/ui/src/pages/Questions/Detail/components/Answer/index.tsxindex 3c88192a..d47cd5cd 100644--- a/ui/src/pages/Questions/Detail/components/Answer/index.tsx+++ b/ui/src/pages/Questions/Detail/components/Answer/index.tsx@@ -69,7 +69,7 @@ const Index: FC<Props> = ({<div id={data.id} ref={answerRef} className="answer-item py-4"><articledangerouslySetInnerHTML={{ __html: data?.html }}- className="fmt"+ className="fmt text-break text-wrap"/><div className="d-flex align-items-center mt-4"><Actions