fix: conditional auto padding being applied on user avatars

This commit is contained in:
tdgao
2026-08-18 20:45:18 -06:00
parent 8069633815
commit 17eb3430d0
4 changed files with 11 additions and 4 deletions
+3 -1
View File
@@ -8,7 +8,7 @@
circle: circle,
detecting: !hasDetectedCorners,
'no-shadow': noShadow,
padded: hasTransparentCorners,
padded: hasTransparentCorners && !circle && !disableConditionalIconPadding,
raised: raised,
pixelated: pixelated,
}"
@@ -72,6 +72,7 @@ const props = withDefaults(
size?: string
circle?: boolean
noShadow?: boolean
disableConditionalIconPadding?: boolean
loading?: 'eager' | 'lazy'
raised?: boolean
tintBy?: string | null
@@ -82,6 +83,7 @@ const props = withDefaults(
size: '2rem',
circle: false,
noShadow: false,
disableConditionalIconPadding: false,
loading: 'eager',
raised: false,
tintBy: null,