From 9ab747c65430f987aa431324c2965c9bf99b7a50 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 14 Sep 2020 22:39:31 +0530 Subject: [PATCH] fix: cover image in Normal Mode fixes: https://github.com/adityatelange/hugo-PaperMod/issues/1 --- assets/css/post-entry.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/css/post-entry.css b/assets/css/post-entry.css index d2a8659c..2416ef7a 100644 --- a/assets/css/post-entry.css +++ b/assets/css/post-entry.css @@ -5,13 +5,14 @@ display: flex; flex-direction: column; justify-content: center; - height: 320px; - margin-bottom: var(--gap); + min-height: 320px; + margin-bottom: calc( var(--gap) * 2); + margin-top: var(--gap); } @media screen and (max-width: 600px) { .first-entry { - height: 260px; + min-height: 260px; } }