From de26361e6ae7d4bef6e6d937671f2a063bb5f8e0 Mon Sep 17 00:00:00 2001 From: Lucas <> Date: Mon, 29 Apr 2024 16:43:13 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20fix=20game=20details=20descripti?= =?UTF-8?q?on=20image=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/pages/game-details/game-details.css.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/pages/game-details/game-details.css.ts b/src/renderer/pages/game-details/game-details.css.ts index 5d2350e6..26801afb 100644 --- a/src/renderer/pages/game-details/game-details.css.ts +++ b/src/renderer/pages/game-details/game-details.css.ts @@ -246,7 +246,9 @@ globalStyle(`${description} img`, { marginTop: `${SPACING_UNIT}px`, marginBottom: `${SPACING_UNIT * 3}px`, display: "block", - maxWidth: "100%", + width: "100%", + height: "auto", + objectFit: "cover", }); globalStyle(`${description} a`, {