From 2ab250ca78e834e7532d8802dcb0678f7f28381f Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Fri, 11 Oct 2024 06:56:54 +0200 Subject: [PATCH] css: ensure not to enlarge images - Set image width to fit-content to ensure that the image will not be displayed larger than it's actual size, and thus possibly with lower quality. Co-Authored-by: iGor milhit --- assets/scss/_medias.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/scss/_medias.scss b/assets/scss/_medias.scss index 16be130..34dfd3c 100644 --- a/assets/scss/_medias.scss +++ b/assets/scss/_medias.scss @@ -62,6 +62,7 @@ figure { @include breakpoint(laptop) { max-width: 80%; + width: fit-content; } img {