The image loaded in an Avatar component is low res / pixelated

So apparently this is caused by object-fit: cover and how interpolation works in chromium-based browsers. Here are more details for those curious:

An easy fix is adding the following to your css.

.anvil-m3-avatar img.anvil-m3-avatar-image {
  overflow-clip-margin: unset;
}
3 Likes