diff --git a/src/components/Author/AuthorCard/AuthorCard.module.scss b/src/components/Author/AuthorCard/AuthorCard.module.scss index 3e13863e..14db38aa 100644 --- a/src/components/Author/AuthorCard/AuthorCard.module.scss +++ b/src/components/Author/AuthorCard/AuthorCard.module.scss @@ -429,64 +429,6 @@ } } -.subscribersContainer { - display: flex; - flex-wrap: wrap; - font-size: 1.4rem; - margin-top: 1.5rem; - - @include media-breakpoint-down(md) { - justify-content: center; - } -} - -.subscribers { - align-items: center; - cursor: pointer; - display: inline-flex; - margin: 0 2% 1rem; - vertical-align: top; - border-bottom: unset !important; - - &:first-child { - margin-left: 0; - } - - &:last-child { - margin-right: 0; - } - - .subscribersItem { - position: relative; - - &:nth-child(1) { - z-index: 2; - } - - &:nth-child(2) { - z-index: 1; - } - - &:not(:last-child) { - margin-right: -4px; - box-shadow: 0 0 0 1px var(--background-color); - } - } - - .subscribersCounter { - font-weight: 500; - margin-left: 1rem; - } - - &:hover { - background: none !important; - - .subscribersCounter { - background: var(--background-color-invert); - } - } -} - .listWrapper { max-height: 70vh; } diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx index c3b1ccd3..53d764c5 100644 --- a/src/components/Author/AuthorCard/AuthorCard.tsx +++ b/src/components/Author/AuthorCard/AuthorCard.tsx @@ -18,6 +18,7 @@ import { Modal } from '../../Nav/Modal' import { TopicBadge } from '../../Topic/TopicBadge' import { Button } from '../../_shared/Button' import { ShowOnlyOnClient } from '../../_shared/ShowOnlyOnClient' +import { Subscribers } from '../../_shared/Subscribers' import { AuthorBadge } from '../AuthorBadge' import { Userpic } from '../Userpic' @@ -126,59 +127,7 @@ export const AuthorCard = (props: Props) => {