aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/overview.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-01-23 19:01:28 +0100
committerArmand Philippot <git@armandphilippot.com>2023-01-23 19:32:15 +0100
commit947830904239d51ec9e94971fed6346c1089911f (patch)
treec5ea2b6107b428e687562ee64c175fd0589adcb4 /src/components/organisms/layout/overview.module.scss
parent74c08b59bb71222b397637c16f84c69451aff685 (diff)
chore: make Links and Images compliant with Next.js 13
Diffstat (limited to 'src/components/organisms/layout/overview.module.scss')
-rw-r--r--src/components/organisms/layout/overview.module.scss6
1 files changed, 5 insertions, 1 deletions
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;
+ }
}
}