diff --git a/src/components/Author/AuthorBadge/AuthorBadge.module.scss b/src/components/Author/AuthorBadge/AuthorBadge.module.scss index 2fc2ead4..5aa176e4 100644 --- a/src/components/Author/AuthorBadge/AuthorBadge.module.scss +++ b/src/components/Author/AuthorBadge/AuthorBadge.module.scss @@ -1,15 +1,26 @@ .AuthorBadge { + align-items: flex-start; display: flex; flex-flow: row nowrap; - align-items: flex-start; - margin-bottom: 1rem; + margin-bottom: 2rem; + + @include media-breakpoint-down(sm) { + flex-wrap: wrap; + margin-bottom: 3rem; + } .info { @include font-size(1.4rem); - - display: flex; - flex-direction: column; border: none; + display: flex; + flex: 0 calc(100% - 5.2rem); + flex-direction: column; + line-height: 1.3; + margin-bottom: 1rem; + + @include media-breakpoint-up(sm) { + flex: 1 100%; + } &:hover { background: unset; @@ -26,7 +37,24 @@ } .actions { - margin-left: auto; - padding-left: 1rem; + flex: 0 20%; + margin-left: 5.2rem; + + @include media-breakpoint-up(sm) { + margin-left: 2rem; + } + + @include media-breakpoint-up(md) { + flex: 1; + margin-left: auto; + padding-left: 1rem; + text-align: right; + } + } + + .subscribeButton { + border-radius: 0.8rem !important; + margin-right: 0 !important; + width: 9em; } } diff --git a/src/components/Author/AuthorBadge/AuthorBadge.tsx b/src/components/Author/AuthorBadge/AuthorBadge.tsx index a5408d93..d60ec4cf 100644 --- a/src/components/Author/AuthorBadge/AuthorBadge.tsx +++ b/src/components/Author/AuthorBadge/AuthorBadge.tsx @@ -44,7 +44,13 @@ export const AuthorBadge = (props: Props) => { return (