From 30dd4e670d4422f34ba994ad91faf2beccfdd07f Mon Sep 17 00:00:00 2001 From: Coleslater Date: Thu, 29 Feb 2024 20:50:20 +0800 Subject: [PATCH] Blog card displays square images properly --- assets/css/style.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/style.scss b/assets/css/style.scss index 6935e5771..4ce958618 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -166,7 +166,7 @@ a.navbar-item.is-active { border-radius: 0.25rem; background-position: center; background-repeat: no-repeat; - background-size: cover; + background-size: contain; } } } @@ -352,4 +352,4 @@ a.navbar-item.is-active { display: inline-block; } } -} \ No newline at end of file +}