Skip to content

Commit 2d72c63

Browse files
author
shuai
committed
fix: similar questions font-size change
1 parent a400cd8 commit 2d72c63

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • ui/src/pages/Questions/Ask/components/SearchQuestion

ui/src/pages/Questions/Ask/components/SearchQuestion/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const SearchQuestion = ({ similarQuestions }) => {
2727
<ListGroup.Item
2828
action
2929
as="a"
30-
className="link-dark"
30+
className="d-flex align-items-center link-dark"
3131
key={item.id}
3232
href={pathFactory.questionLanding(item.id, item.url_title)}
3333
target="_blank">
@@ -38,7 +38,7 @@ const SearchQuestion = ({ similarQuestions }) => {
3838
: null}
3939
</span>
4040
{item.accepted_answer ? (
41-
<span className="ms-3 text-success">
41+
<span className="small ms-3 text-success">
4242
<Icon type="bi" name="check-circle-fill" />
4343
<span className="ms-1">
4444
{t('x_answers', {
@@ -49,7 +49,7 @@ const SearchQuestion = ({ similarQuestions }) => {
4949
</span>
5050
) : (
5151
item.answer_count > 0 && (
52-
<span className="ms-3 text-secondary">
52+
<span className="small ms-3 text-secondary">
5353
<Icon type="bi" name="chat-square-text-fill" />
5454
<span className="ms-1">
5555
{t('x_answers', {

0 commit comments

Comments
 (0)