From d2a72cc89443e47d6cf18c6f36131578b9d96080 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Mon, 12 Jun 2023 22:59:46 +0300 Subject: [PATCH] Minor style fixes --- src/components/Author/Userpic.module.scss | 3 ++- src/components/Feed/ArticleCard.module.scss | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/Author/Userpic.module.scss b/src/components/Author/Userpic.module.scss index 2702c340..6c879269 100644 --- a/src/components/Author/Userpic.module.scss +++ b/src/components/Author/Userpic.module.scss @@ -1,5 +1,4 @@ .circlewrap { - align-items: center; border-radius: 100%; display: flex; height: 32px; @@ -35,6 +34,8 @@ } a { + padding: 0; + &:hover { color: #000; } diff --git a/src/components/Feed/ArticleCard.module.scss b/src/components/Feed/ArticleCard.module.scss index 9b75ad68..1e5d6dca 100644 --- a/src/components/Feed/ArticleCard.module.scss +++ b/src/components/Feed/ArticleCard.module.scss @@ -323,6 +323,10 @@ } } + .shoutCardSubtitle { + color: rgb(255 255 255 / 0.5); + } + &:global(.swiper-slide-active) .shoutCardCover { &:after { background: linear-gradient(to bottom, rgb(0 0 0 / 0%) 40%, rgb(0 0 0 / 70%) 100%); @@ -609,8 +613,11 @@ line-height: 1.2; } + .shoutCardTitle { + padding-right: 0.3em; + } + .shoutCardSubtitle { - padding-left: 0.3em; box-decoration-break: slice; /* stylelint-disable-next-line */ -webkit-box-decoration-break: slice;