From d4c6b96ffbfd96101d18b52e36e78218bda44ba8 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 4 May 2021 16:54:23 +0500 Subject: [PATCH] sadgsadg --- themes/modern/assets/css/components/3-page/news.scss | 2 +- themes/modern/assets/css/main.css | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/themes/modern/assets/css/components/3-page/news.scss b/themes/modern/assets/css/components/3-page/news.scss index 85e8140eb..5314ad2ab 100755 --- a/themes/modern/assets/css/components/3-page/news.scss +++ b/themes/modern/assets/css/components/3-page/news.scss @@ -59,7 +59,7 @@ &__body { p { font-size: $p-size; - line-height: $p-height; + line-height: $p-height; margin-bottom: 30px; a { color: blue; diff --git a/themes/modern/assets/css/main.css b/themes/modern/assets/css/main.css index bc6a93be3..d5d3335f4 100755 --- a/themes/modern/assets/css/main.css +++ b/themes/modern/assets/css/main.css @@ -1646,6 +1646,7 @@ li { .news__image { width: 100%; margin: 50px 0; + display: block; } .news__image img { width: 100%; @@ -1660,8 +1661,10 @@ li { color: blue; } .news__body img.aligncenter { - margin: 0 auto; + margin: 15px auto; display: block; + width: 100%; + height: auto; } .news__body-row { display: flex;