Slightly improve styling of follower

This commit is contained in:
Gabe Kangas
2023-01-27 14:24:29 -08:00
parent 28f7a10732
commit 8b43173681
2 changed files with 17 additions and 9 deletions
@@ -9,13 +9,26 @@
height: 75px; height: 75px;
width: 250px; width: 250px;
font-size: 0.8rem; font-size: 0.8rem;
color: var(--theme-color-components-text-on-light);
.name {
font-weight: 600;
font-size: 1rem;
color: var(--theme-color-components-text-on-light);
}
.account {
color: var(--theme-color-components-text-on-light);
overflow: hidden; overflow: hidden;
}
@include screen(mobile) { @include screen(mobile) {
margin: auto; margin: auto;
} }
&:hover { &:hover {
border-color: var(--theme-text-link); border-color: var(--theme-color-action);
} }
.avatar { .avatar {
@@ -26,11 +39,6 @@
border-style: solid; border-style: solid;
} }
.account {
color: var(--theme-text-secondary);
text-overflow: ellipsis;
}
.placeholder { .placeholder {
width: 100%; width: 100%;
height: 100%; height: 100%;
@@ -18,7 +18,7 @@ export const SingleFollower: FC<SingleFollowerProps> = ({ follower }) => (
</Avatar> </Avatar>
</Col> </Col>
<Col> <Col>
<Row>{follower.name}</Row> <Row className={styles.name}>{follower.name}</Row>
<Row className={styles.account}>{follower.username}</Row> <Row className={styles.account}>{follower.username}</Row>
</Col> </Col>
</Row> </Row>