diff --git a/packages/ui/src/components/base/Avatar.vue b/packages/ui/src/components/base/Avatar.vue index 091e2d81..00887e1f 100644 --- a/packages/ui/src/components/base/Avatar.vue +++ b/packages/ui/src/components/base/Avatar.vue @@ -8,7 +8,7 @@ circle: circle, 'no-shadow': noShadow, raised: raised, - pixelated: raised, + pixelated: pixelated, }" :src="src" :alt="alt" @@ -96,7 +96,7 @@ const LEGACY_PRESETS = { const cssSize = computed(() => LEGACY_PRESETS[props.size] ?? props.size) function updatePixelated() { - if (img.value && img.value.naturalWidth && img.value.naturalWidth <= 96) { + if (img.value && img.value.naturalWidth && img.value.naturalWidth < 32) { pixelated.value = true } else { pixelated.value = false