feat: optimize display effect when image loading fails
This commit is contained in:
parent
c4b9b397a6
commit
41d46b1a13
12 changed files with 76 additions and 55 deletions
|
|
@ -109,7 +109,7 @@ const ProfileEditorPage = forwardRef(({ index }: { index?: number }, ref) => {
|
|||
<ProfileBanner
|
||||
banner={banner}
|
||||
pubkey={account.pubkey}
|
||||
className="w-full aspect-video object-cover rounded-lg"
|
||||
className="w-full aspect-video object-cover"
|
||||
/>
|
||||
<div className="absolute top-0 bg-muted/30 w-full h-full rounded-lg flex flex-col justify-center items-center">
|
||||
{uploadingBanner ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue