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>
parent
a5ee40adb7
commit
2ab250ca78
|
@ -62,6 +62,7 @@ figure {
|
||||||
|
|
||||||
@include breakpoint(laptop) {
|
@include breakpoint(laptop) {
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
Loading…
Reference in New Issue