diff --git a/ui/src/components/QuestionList/index.tsx b/ui/src/components/QuestionList/index.tsx index 3d770dbe5..7106dba23 100644 --- a/ui/src/components/QuestionList/index.tsx +++ b/ui/src/components/QuestionList/index.tsx @@ -100,13 +100,21 @@ const QuestionList: FC = ({ return (
-
- {source === 'questions' - ? t('all_questions') - : source === 'linked' + {/* `h1` where this heading is the page's own — the question list at + /questions has no other. Everywhere else the page brings its own + `h1` and this one sits below it. `fs-5` keeps the size it had as + an `h5`. */} + {source === 'questions' ? ( +

+ {t('all_questions')} +

+ ) : ( +

+ {source === 'linked' ? t('x_posts', { count }) : t('x_questions', { count })} -

+ + )}
= ({ className="text-secondary ms-1 flex-shrink-0" />
-
+ {/* One level below the list's own heading, not the same + one it used to share with it. `fs-5` keeps the size. */} +

e.stopPropagation()} @@ -175,7 +185,7 @@ const QuestionList: FC = ({ {li.title} {li.status === 2 ? ` [${t('closed')}]` : ''} -

+ {viewType === 'card' && (
{ return (
-

{t('title')}

+

{t('title')}

{badgesList?.map((item) => { return (
-
{item.group_name}
+

{item.group_name}

{item.badges?.map((badge) => { return ( diff --git a/ui/src/pages/Questions/Linked/index.tsx b/ui/src/pages/Questions/Linked/index.tsx index bf8465faf..b558745f8 100644 --- a/ui/src/pages/Questions/Linked/index.tsx +++ b/ui/src/pages/Questions/Linked/index.tsx @@ -81,7 +81,7 @@ const LinkedQuestions: FC = () => { return ( -

{t('title')}

+

{t('title')}

{t('description')}  {questionTitle} diff --git a/ui/src/pages/Tags/Detail/index.tsx b/ui/src/pages/Tags/Detail/index.tsx index 62ff5dd45..585a52777 100644 --- a/ui/src/pages/Tags/Detail/index.tsx +++ b/ui/src/pages/Tags/Detail/index.tsx @@ -134,14 +134,14 @@ const Index: FC = () => {
) : (
-

+

{tagInfo.display_name} -

+
{ return ( -

{t('title')}

+

{t('title')}

diff --git a/ui/src/pages/Users/index.tsx b/ui/src/pages/Users/index.tsx index 9382af7a0..431b72ebf 100644 --- a/ui/src/pages/Users/index.tsx +++ b/ui/src/pages/Users/index.tsx @@ -43,7 +43,7 @@ const Users = () => { return ( -

{t('title')}

+

{t('title')}

@@ -55,7 +55,7 @@ const Users = () => { -
{t(key)}
+

{t(key)}