diff --git a/src/components/Author/AuthorCard/AuthorCard.module.scss b/src/components/Author/AuthorCard/AuthorCard.module.scss index 302990cf..7804903f 100644 --- a/src/components/Author/AuthorCard/AuthorCard.module.scss +++ b/src/components/Author/AuthorCard/AuthorCard.module.scss @@ -90,9 +90,9 @@ .authorName { border: none !important; + display: block; font-size: 1.6rem; font-weight: 500; - line-height: 2; margin-bottom: 0.8rem; .listWrapper &:before { @@ -678,24 +678,3 @@ .listWrapper { max-height: 70vh; } - -.switcherCounter { - align-items: center; - background: #f7f7f8; - border-radius: 0.8rem; - display: inline-flex; - font-size: 1.2rem; - font-weight: bold; - height: 2.2rem; - justify-content: center; - line-height: 2.2rem; - margin-left: 0.4rem; - min-width: 2.2rem; - padding: 0 0.6rem; - text-align: center; -} - -:global(.view-switcher__item--selected) .switcherCounter { - background: #000; - color: #fff; -} diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx index 395498a3..d0f4989f 100644 --- a/src/components/Author/AuthorCard/AuthorCard.tsx +++ b/src/components/Author/AuthorCard/AuthorCard.tsx @@ -401,13 +401,13 @@ export const AuthorCard = (props: Props) => { - {props.following.length} + {props.following.length}
  • - + {props.following.filter((s) => 'name' in s).length}
  • @@ -415,7 +415,7 @@ export const AuthorCard = (props: Props) => { - + {props.following.filter((s) => 'title' in s).length} diff --git a/src/components/Views/Author/Author.module.scss b/src/components/Views/Author/Author.module.scss index ee0d07a6..1db3b777 100644 --- a/src/components/Views/Author/Author.module.scss +++ b/src/components/Views/Author/Author.module.scss @@ -17,6 +17,7 @@ border-bottom: 2px solid #000; margin-bottom: 2.4rem; padding-bottom: 4rem; + padding-top: 2.6rem; } .ratingContainer { diff --git a/src/components/Views/Author/Author.tsx b/src/components/Views/Author/Author.tsx index 73b15285..d74f68e4 100644 --- a/src/components/Views/Author/Author.tsx +++ b/src/components/Views/Author/Author.tsx @@ -138,14 +138,14 @@ export const AuthorView = (props: Props) => {