I discovered a little problem on chrome: while on firefox, the image resizing gives a soft result, on chrome it's very pixelated (like if it used "nearest neighbor" resizing):
A zoom x2 to see more clearly the difference:
Any idea why chrome does that, and how to repair it?
(note that I use .Avatar img { object-fit: cover; }
on thumbnails, maybe it plays a role)
EDIT: arf, testing without the object-fit: cover;
the problem is not there anymore. So it's on my side. Still, if someone as an idea how to fix that, I'm interested!
EDIT2 (2022/11/21) :
Found the solution. To keep the image in correct ratio without getting pixelated in Chrome, replace .Avatar img { object-fit: cover; }
with this (same result, but no pixelated problem anymore):
.Avatar img {
width: auto;
}
.Avatar.DiscussionListItem-thumbnail {
width: var(--size);
overflow: hidden;
}