From f6ddcd8901f8aecb2c184e60f837550891cddff0 Mon Sep 17 00:00:00 2001 From: gumgood Date: Fri, 25 Oct 2024 15:35:39 +0000 Subject: [PATCH] Design: size of `.post-summary-item` --- _sass/pages/_index.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_sass/pages/_index.scss b/_sass/pages/_index.scss index 3297cbd..d05e735 100644 --- a/_sass/pages/_index.scss +++ b/_sass/pages/_index.scss @@ -28,7 +28,7 @@ } .post-summary-item-thumbnail { - flex: 1; + flex: 3; overflow: hidden; @media screen and (max-width: $break-small) { @@ -36,6 +36,7 @@ } img { + margin-bottom: -6rem; height: 100%; width: 100%; object-fit: cover; @@ -47,12 +48,11 @@ .post-summaries-item-body { display: flex; flex-direction: column; - flex: 1; - min-width: 70%; + flex: 7; padding: 1.25rem 1.75rem; @media screen and (max-width: $break-small) { - padding: 1rem; + padding: 1.125rem 1.375rem; } }