diff --git a/src/components/Article/Comment.module.scss b/src/components/Article/Comment.module.scss index b2515117..58f775ab 100644 --- a/src/components/Article/Comment.module.scss +++ b/src/components/Article/Comment.module.scss @@ -98,6 +98,10 @@ } } +.commentControlDelete { + align-items: center; +} + .commentControl { border: none; color: #696969; @@ -106,7 +110,10 @@ line-height: 1.2; margin-right: 0.8rem; padding: 0.2em 0.3em; - transition: opacity 0.2s, color 0.3s, background-color 0.3s; + transition: + opacity 0.2s, + color 0.3s, + background-color 0.3s; vertical-align: top; &:hover { @@ -123,7 +130,9 @@ filter: invert(0); margin-right: 0.3em; opacity: 0.6; - transition: filter 0.3s, opacity 0.2s; + transition: + filter 0.3s, + opacity 0.2s; img { margin-bottom: -0.1em; 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 (