🆙 Fix the avatar head in send pressent

This commit is contained in:
duckietm
2026-06-08 11:06:01 +02:00
parent b1f0fe64c0
commit ce8e6fa61f
+2 -2
View File
@@ -22,8 +22,8 @@ export const LayoutGiftTagView: FC<LayoutGiftTagViewProps> = props =>
<Flex className="nitro-gift-card text-black" overflow="hidden"> <Flex className="nitro-gift-card text-black" overflow="hidden">
<div className="flex items-center justify-center gift-face shrink-0"> <div className="flex items-center justify-center gift-face shrink-0">
{ !userName && <div className="gift-incognito"></div> } { !userName && <div className="gift-incognito"></div> }
{ figure && <div className="gift-avatar"> { figure && <div className="gift-avatar relative w-[52px] h-[52px] shrink-0 overflow-hidden rounded-full bg-[#dfe6ea]">
<LayoutAvatarImageView direction={ 2 } figure={ figure } headOnly={ true } /> <LayoutAvatarImageView direction={ 2 } figure={ figure } headOnly={ true } style={ { backgroundSize: '100px auto', backgroundPosition: '-24px -33px' } } />
</div> } </div> }
</div> </div>
<Flex className="w-full pt-4 pb-4 pe-4 ps-3" overflow="hidden"> <Flex className="w-full pt-4 pb-4 pe-4 ps-3" overflow="hidden">