diff --git a/src/components/Views/AllAuthors.tsx b/src/components/Views/AllAuthors.tsx index 9afe63b8..66e483ec 100644 --- a/src/components/Views/AllAuthors.tsx +++ b/src/components/Views/AllAuthors.tsx @@ -59,29 +59,27 @@ export const AllAuthorsView = (props: Props) => { const showMore = () => setLimit((oldLimit) => oldLimit + PAGE_SIZE) return ( -
+
0}>
-
-
-

{t('Authors')}

-

{t('Subscribe who you like to tune your personal feed')}

+
+

{t('Authors')}

+

{t('Subscribe who you like to tune your personal feed')}

- -
+
{ } const AllTopicsHead = () => ( -
-
-

{t('Topics')}

-

{t('Subscribe what you like to tune your personal feed')}

+
+

{t('Topics')}

+

{t('Subscribe what you like to tune your personal feed')}

- -
+
) return ( -
+
0 || searchResults().length > 0}> -
-
-
    - - {(letter, index) => ( -
  • - - {letter} - - {letter} -
  • - )} -
    -
-
+
+
    + + {(letter, index) => ( +
  • + + {letter} + + {letter} +
  • + )} +
    +
@@ -183,9 +179,8 @@ export const AllTopicsView = (props: AllTopicsViewProps) => { {(topic) => (
- + {topic.title} + {topic.stat.shouts}
)}
@@ -238,12 +233,10 @@ export const AllTopicsView = (props: AllTopicsViewProps) => { limit()}> -
-
- -
+
+
diff --git a/src/styles/AllTopics.module.scss b/src/styles/AllTopics.module.scss index ef536a42..3a79472d 100644 --- a/src/styles/AllTopics.module.scss +++ b/src/styles/AllTopics.module.scss @@ -1,6 +1,6 @@ .allTopicsPage { .group { - font-weight: bold; + @include font-size(1.6rem); margin: 3em 0 9.6rem; @include media-breakpoint-down(sm) { @@ -17,11 +17,7 @@ } .topic { - margin-bottom: 1.6rem; - - @include media-breakpoint-down(sm) { - margin-left: 2.6rem; - } + margin-bottom: 2.4rem; } } @@ -54,6 +50,7 @@ } .alphabet { + color: rgba(0, 0, 0, 0.2); display: flex; flex-wrap: wrap; font-weight: 700; @@ -66,3 +63,10 @@ margin-right: 3%; } } + +.articlesCounter { + @include font-size(1.2rem); + + margin-left: 0.5em; + vertical-align: super; +}