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
2 changed files with 6 additions and 8 deletions

View File

@@ -45,9 +45,4 @@
border-width: 1px; border-width: 1px;
border-style: solid; 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"> <a href={follower.link} target="_blank" rel="noreferrer">
<Row wrap={false}> <Row wrap={false}>
<Col span={6}> <Col span={6}>
<Avatar src={follower.image} alt="Avatar" className={styles.avatar}> <Avatar
<img src="/logo" alt="Logo" className={styles.placeholder} /> src={follower.image}
</Avatar> alt="Avatar"
className={styles.avatar}
icon={<img src="/logo" alt="Logo" />}
/>
</Col> </Col>
<Col span={18}> <Col span={18}>
<Row className={styles.name}> <Row className={styles.name}>