fix: the image of avatar is displaying abnormally in HomeFeed & HomeS… (#698)

This commit is contained in:
我永远喜欢英梨梨 2023-06-28 06:49:47 +08:00 committed by GitHub
parent 1088daf513
commit b1e2405e31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ const Post = ({
>
<span className="w-10 h-10 inline-block">
<Image
className="rounded-full"
className="rounded-full object-cover"
src={
post.character?.metadata?.content?.avatars?.[0] ||
"ipfs://bafkreiabgixxp63pg64moxnsydz7hewmpdkxxi3kdsa4oqv4pb6qvwnmxa"

View File

@ -79,7 +79,7 @@ export function HomeSidebar({ hideSearch }: { hideSearch?: boolean }) {
<CharacterFloatCard siteId={site.handle}>
<span className="w-10 h-10 inline-block">
<Image
className="rounded-full"
className="rounded-full object-cover"
src={
site?.metadata?.content?.avatars?.[0] ||
"ipfs://bafkreiabgixxp63pg64moxnsydz7hewmpdkxxi3kdsa4oqv4pb6qvwnmxa"