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 <igor@milhit.ch>
iGor milhit 2024-10-11 06:56:54 +02:00
parent a5ee40adb7
commit 2ab250ca78
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ figure {
@include breakpoint(laptop) { @include breakpoint(laptop) {
max-width: 80%; max-width: 80%;
width: fit-content;
} }
img { img {