fix placeholder styling (fixes #2677) (#2709)

* fix placeholder styling

* Prettified Code!

* fix code style

---------

Co-authored-by: JacobWrenn <JacobWrenn@users.noreply.github.com>
This commit is contained in:
Jacob Wrenn 2023-02-14 17:24:29 +00:00 committed by GitHub
parent 512325d6a6
commit 591ead0064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View File

@ -45,9 +45,4 @@
border-width: 1px;
border-style: solid;
}
.placeholder {
width: 100%;
height: 100%;
}
}

View File

@ -13,9 +13,12 @@ export const SingleFollower: FC<SingleFollowerProps> = ({ follower }) => (
<a href={follower.link} target="_blank" rel="noreferrer">
<Row wrap={false}>
<Col span={6}>
<Avatar src={follower.image} alt="Avatar" className={styles.avatar}>
<img src="/logo" alt="Logo" className={styles.placeholder} />
</Avatar>
<Avatar
src={follower.image}
alt="Avatar"
className={styles.avatar}
icon={<img src="/logo" alt="Logo" />}
/>
</Col>
<Col span={18}>
<Row className={styles.name}>