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.
refactor: Add text truncation to TopList component link
robind72cf56b8c4d
diff --git a/ui/src/pages/Users/Personal/components/TopList/index.tsx b/ui/src/pages/Users/Personal/components/TopList/index.tsxindex 04553428..aa896caf 100644--- a/ui/src/pages/Users/Personal/components/TopList/index.tsx+++ b/ui/src/pages/Users/Personal/components/TopList/index.tsx@@ -38,6 +38,7 @@ const Index: FC<Props> = ({ data, type }) => {className={`${index === data.length - 1 ? '' : 'mb-2'}`}key={type === 'answer' ? item.answer_id : item.question_id}><Link+ className="text-truncate-1"to={type === 'answer'? pathFactory.answerLanding({