diff --git a/src/components/Topic/Card.module.scss b/src/components/Topic/Card.module.scss index 96706481..4e37e4a6 100644 --- a/src/components/Topic/Card.module.scss +++ b/src/components/Topic/Card.module.scss @@ -127,10 +127,24 @@ background: #000; color: #fff; transition: background-color 0.3s, color 0.3s; + white-space: nowrap; + width: 9em; &:hover { background: #fff; color: #000; + + .buttonUnfollowLabel { + display: block; + } + + .buttonSubscribedLabel { + display: none; + } + } + + .buttonUnfollowLabel { + display: none; } } diff --git a/src/components/Topic/Card.tsx b/src/components/Topic/Card.tsx index e6d11c02..ed5d190f 100644 --- a/src/components/Topic/Card.tsx +++ b/src/components/Topic/Card.tsx @@ -115,7 +115,8 @@ export const TopicCard = (props: TopicProps) => { - {t('Unfollow')} + {t('Unfollow')} + {t('You are subscribed')}