From 48e71d7b3f8089383c3a060f023b7b3885eb3820 Mon Sep 17 00:00:00 2001 From: Julia Mehringer Date: Tue, 15 Oct 2024 16:48:55 +0200 Subject: [PATCH] EDERCMS-236 news overview image size --- blocks/news/news.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/blocks/news/news.css b/blocks/news/news.css index 00baec37..f94c9829 100644 --- a/blocks/news/news.css +++ b/blocks/news/news.css @@ -27,7 +27,7 @@ /* details */ .details-wrapper { - flex: 3; + flex: 2; margin: 0 !important; padding: 40px; @@ -59,7 +59,6 @@ } /* image */ - .image-wrapper { flex: 1; margin: 0; @@ -67,8 +66,8 @@ img { display: block; width: 100%; - height: 260px; - object-fit: contain; + height: 100%; + object-fit: cover; } } }