From 419a63862d2663a675ba594cd73bee0e898c55fc Mon Sep 17 00:00:00 2001 From: Andrew Bone Date: Thu, 30 Jun 2022 13:59:40 +0100 Subject: [PATCH] update aspect ratio to reflect cover image size (#17734) * Prevent cover images from scaling down * Update aspect ratio --- app/assets/stylesheets/views/article.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/views/article.scss b/app/assets/stylesheets/views/article.scss index 11fec68f2..fb5a8c9c8 100644 --- a/app/assets/stylesheets/views/article.scss +++ b/app/assets/stylesheets/views/article.scss @@ -32,7 +32,7 @@ padding-bottom: 0; height: 100%; width: 100%; - aspect-ratio: auto 650 / 275; + aspect-ratio: auto 650 / 273; object-fit: scale-down; } }