diff --git a/src/components/Author/AuthorBadge/AuthorBadge.tsx b/src/components/Author/AuthorBadge/AuthorBadge.tsx index 289cfa7e..79d7b506 100644 --- a/src/components/Author/AuthorBadge/AuthorBadge.tsx +++ b/src/components/Author/AuthorBadge/AuthorBadge.tsx @@ -1,5 +1,6 @@ import { clsx } from 'clsx' import styles from './AuthorBadge.module.scss' +import stylesButton from '../../_shared/Button/Button.module.scss' import { Userpic } from '../Userpic' import { Author, FollowingEntity } from '../../../graphql/types.gen' import { createMemo, createSignal, Match, Show, Switch } from 'solid-js' @@ -131,7 +132,10 @@ export const AuthorBadge = (props: Props) => { value={subscribeValue()} onClick={() => handleSubscribe(true)} isSubscribeButton={true} - class={clsx(styles.actionButton, { [styles.iconed]: props.iconButtons })} + class={clsx(styles.actionButton, { + [styles.iconed]: props.iconButtons, + [stylesButton.subscribed]: subscribed() + })} /> } > @@ -141,7 +145,10 @@ export const AuthorBadge = (props: Props) => { value={unsubscribeValue()} onClick={() => handleSubscribe(false)} isSubscribeButton={true} - class={clsx(styles.actionButton, { [styles.iconed]: props.iconButtons })} + class={clsx(styles.actionButton, { + [styles.iconed]: props.iconButtons, + [stylesButton.subscribed]: subscribed() + })} /> diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx index 5bac630c..07b38a28 100644 --- a/src/components/Author/AuthorCard/AuthorCard.tsx +++ b/src/components/Author/AuthorCard/AuthorCard.tsx @@ -211,7 +211,14 @@ export const AuthorCard = (props: Props) => { when={isProfileOwner()} fallback={
-