From 947830904239d51ec9e94971fed6346c1089911f Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 23 Jan 2023 19:01:28 +0100 Subject: chore: make Links and Images compliant with Next.js 13 --- src/components/organisms/layout/overview.module.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/components/organisms/layout/overview.module.scss') diff --git a/src/components/organisms/layout/overview.module.scss b/src/components/organisms/layout/overview.module.scss index 895bae5..5620513 100644 --- a/src/components/organisms/layout/overview.module.scss +++ b/src/components/organisms/layout/overview.module.scss @@ -36,9 +36,13 @@ .cover { width: fit-content; - max-height: fun.convert-px(175); + height: fun.convert-px(175); margin-bottom: var(--spacing-sm); padding: var(--spacing-2xs); border: fun.convert-px(1) solid var(--color-border); + + img { + object-fit: contain; + } } } -- cgit v1.2.3