From 9504fada024ac48fb9b03ba965ae118c5688cc44 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Mon, 10 Jul 2023 22:42:24 +0300 Subject: [PATCH] Fixed article header style --- src/components/Article/Article.module.scss | 31 +++++----------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/src/components/Article/Article.module.scss b/src/components/Article/Article.module.scss index c908cf1b..a1fe0ffa 100644 --- a/src/components/Article/Article.module.scss +++ b/src/components/Article/Article.module.scss @@ -13,7 +13,7 @@ img { max-width: 100%; } -.shoutTopic { +.shoutHeader { margin-bottom: 2em; @include media-breakpoint-up(md) { @@ -21,34 +21,15 @@ img { } } -.shoutHeader { - display: flex; - flex-flow: row wrap; -} - .shoutCover { - width: 40%; - margin-left: auto; - - & img { - width: 100%; - height: auto; - } - - @include media-breakpoint-down(sm) { - width: 100%; - margin-left: 0; - } + background-size: cover; + height: 0; + padding-bottom: 56.2%; } .shoutBody { - margin-top: 32px; - - font-weight: 400; - font-size: 17px; - line-height: 28px; - letter-spacing: -0.01em; - color: #404040; + font-size: 1.7rem; + line-height: 1.6; img { display: block;