From b9705ab8ba6bec080e0a780b8dcff1b4f112097c Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 31 May 2024 15:18:14 +0300 Subject: [PATCH] merged-empty-header --- .../Author/AuthorCard/AuthorCard.module.scss | 1 + src/components/Author/AuthorCard/AuthorCard.tsx | 4 ++-- .../Feed/Placeholder/Placeholder.module.scss | 14 +++++++++++--- src/components/Topic/Full.module.scss | 1 + src/components/Views/Author/Author.tsx | 4 +--- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/components/Author/AuthorCard/AuthorCard.module.scss b/src/components/Author/AuthorCard/AuthorCard.module.scss index a8e7e0e9..dd76c597 100644 --- a/src/components/Author/AuthorCard/AuthorCard.module.scss +++ b/src/components/Author/AuthorCard/AuthorCard.module.scss @@ -18,6 +18,7 @@ .authorName { @include font-size(4rem); + font-weight: 700; margin-bottom: 1.2rem; } diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx index f288eb5e..5df81631 100644 --- a/src/components/Author/AuthorCard/AuthorCard.tsx +++ b/src/components/Author/AuthorCard/AuthorCard.tsx @@ -193,12 +193,12 @@ export const AuthorCard = (props: Props) => {
- 0 || props.following?.length > 0}> + 0 || props.flatFollows?.length > 0}>
diff --git a/src/components/Feed/Placeholder/Placeholder.module.scss b/src/components/Feed/Placeholder/Placeholder.module.scss index abd61262..f18b1db4 100644 --- a/src/components/Feed/Placeholder/Placeholder.module.scss +++ b/src/components/Feed/Placeholder/Placeholder.module.scss @@ -1,7 +1,9 @@ .placeholder { border-radius: 2.2rem; display: flex; + @include font-size(1.4rem); + font-weight: 500; overflow: hidden; position: relative; @@ -15,7 +17,9 @@ align-items: center; border-radius: 1.2rem; display: flex; + @include font-size(1.5rem); + gap: 0.6rem; margin-top: 3rem; padding: 1rem 2rem; @@ -33,7 +37,7 @@ flex-direction: column; text-align: center; - &:after { + &::after { bottom: 0; content: ''; height: 20%; @@ -42,11 +46,11 @@ width: 100%; .placeholder--feed & { - background: linear-gradient(to top, #171032, rgba(23, 16, 50, 0)); + background: linear-gradient(to top, #171032, rgb(23 16 50 / 0%)); } .placeholder--feedCollaborations & { - background: linear-gradient(to top, #070709, rgba(7, 7, 9, 0)); + background: linear-gradient(to top, #070709, rgb(7 7 9 / 0%)); } } @@ -79,7 +83,9 @@ display: flex; flex-direction: column; justify-content: space-between; + @include font-size(2rem); + line-height: 1.2; padding: 3rem; } @@ -187,7 +193,9 @@ .bottomLinks { display: flex; + @include font-size(1.6rem); + gap: 4rem; a { diff --git a/src/components/Topic/Full.module.scss b/src/components/Topic/Full.module.scss index c34ea44e..b198747f 100644 --- a/src/components/Topic/Full.module.scss +++ b/src/components/Topic/Full.module.scss @@ -13,6 +13,7 @@ .topicDescription { @include font-size(1.8rem); + line-height: 1.4; margin: 1rem 0 2rem; } diff --git a/src/components/Views/Author/Author.tsx b/src/components/Views/Author/Author.tsx index 883a095b..45f2e2da 100644 --- a/src/components/Views/Author/Author.tsx +++ b/src/components/Views/Author/Author.tsx @@ -275,9 +275,7 @@ export const AuthorView = (props: Props) => {
- +