From 4dfd400cddc0f084f33976bc76d68c8bffb30a7d Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 1 Dec 2023 11:01:22 +0100 Subject: [PATCH] css img home --- web/themes/custom/reha/css/reha.css | 4 ++++ web/themes/custom/reha/scss/pages/_home.scss | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/web/themes/custom/reha/css/reha.css b/web/themes/custom/reha/css/reha.css index 2bb8785..80e31e8 100644 --- a/web/themes/custom/reha/css/reha.css +++ b/web/themes/custom/reha/css/reha.css @@ -670,6 +670,10 @@ input { @media (max-width: 520px) { .home-page-layout-content .layout--onecol h5 { font-size: 3rem; } } + .home-page-layout-content .layout--onecol img { + height: auto; + padding-top: 2rem; + padding-bottom: 2rem; } .home-page-layout-content .layout--onecol .block-region-content { display: grid; grid-column: repeat(2, 1fr); } diff --git a/web/themes/custom/reha/scss/pages/_home.scss b/web/themes/custom/reha/scss/pages/_home.scss index 6aa0416..3db82f1 100644 --- a/web/themes/custom/reha/scss/pages/_home.scss +++ b/web/themes/custom/reha/scss/pages/_home.scss @@ -31,6 +31,12 @@ font-size: 3rem; } + } + img{ + height: auto; + padding-top: 2rem ; + padding-bottom: 2rem ; + } .block-region-content{