From 0cee466eec32d8d292341743c56928ac6996991a Mon Sep 17 00:00:00 2001 From: Nanocode The Spectator Date: Thu, 29 Feb 2024 20:07:55 +0800 Subject: [PATCH] Fixed square post images not displaying properly By adding `object-fit: contain;` to #post-image in assets/css/style.scss --- assets/css/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/css/style.scss b/assets/css/style.scss index 6935e5771..0765338b7 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -304,6 +304,7 @@ a.navbar-item.is-active { } #post-image { border-radius: 0.25rem; + object-fit: contain; } .subtitle { letter-spacing: 0.05rem;