From 50dfab425453b773090f687a856d2ce4c1412064 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Tue, 15 Nov 2022 00:17:20 +0300 Subject: [PATCH] Fixed topics page style --- src/components/Topic/Card.tsx | 2 +- src/components/Views/AllAuthors.tsx | 10 ++++++---- src/components/Views/AllTopics.tsx | 20 +++++++++----------- src/styles/AllTopics.module.scss | 7 ++++++- src/styles/app.scss | 12 ++---------- 5 files changed, 24 insertions(+), 27 deletions(-) diff --git a/src/components/Topic/Card.tsx b/src/components/Topic/Card.tsx index 0b153cbe..d8fbff48 100644 --- a/src/components/Topic/Card.tsx +++ b/src/components/Topic/Card.tsx @@ -50,7 +50,7 @@ export const TopicCard = (props: TopicProps) => { [styles.topicInRow]: props.isTopicInRow }} > -
+

{capitalize(props.topic.title || '')} diff --git a/src/components/Views/AllAuthors.tsx b/src/components/Views/AllAuthors.tsx index 99fedb64..1d0ba7bb 100644 --- a/src/components/Views/AllAuthors.tsx +++ b/src/components/Views/AllAuthors.tsx @@ -111,10 +111,12 @@ export const AllAuthorsView = (props: Props) => { )} limit()}> -
- +
+
+ +
diff --git a/src/components/Views/AllTopics.tsx b/src/components/Views/AllTopics.tsx index d94461f4..8161dfc5 100644 --- a/src/components/Views/AllTopics.tsx +++ b/src/components/Views/AllTopics.tsx @@ -63,15 +63,11 @@ export const AllTopicsView = (props: AllTopicsViewProps) => { 0}>