From 5107b0f2c60750f04cd8b82f1240d072f6a332de Mon Sep 17 00:00:00 2001 From: cbo Date: Thu, 1 Aug 2024 15:48:56 +0000 Subject: [PATCH] 1.7.2 --- html/src/css/style.css | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/html/src/css/style.css b/html/src/css/style.css index 1a035453..3c3b3ae0 100755 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -289,7 +289,21 @@ footer { } .articles-list .article-illustration { - padding-right: 1em; + margin-right: 1em; + height: 8em; + width: 14em; + overflow: hidden; + border-radius: 10px; + display: flex; + align-items: center; + justify-content: center; +} + +.articles-list .article-illustration img { + border-radius: 0; + height: 100%; + width: 100%; + object-fit: cover; } .articles-list .article-miniature { @@ -573,15 +587,11 @@ footer { .articles-list .article-illustration { margin: 0 auto; padding: 2em 0; - height: 9em; - overflow: hidden; - border-radius: 10px; } .articles-list .article-illustration img { max-width: 100%; margin: 0 auto; - border-radius: 0; } .articles-list .article-info {