From 9ee96c71c851de8ea6e2ec4b857f86ec92a61a89 Mon Sep 17 00:00:00 2001 From: Mikhail Fedorov Date: Mon, 29 Jan 2024 13:31:35 +0100 Subject: [PATCH] fix: add `object-fit: contain` for images To make them keep the aspect ration when resizing --- src/scss/_common.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scss/_common.scss b/src/scss/_common.scss index 5f8191c8..9e9f0e82 100644 --- a/src/scss/_common.scss +++ b/src/scss/_common.scss @@ -89,6 +89,7 @@ } img { + object-fit: contain; background-color: $baseColor; }