Slightly improve styling of follower

This commit is contained in:
Gabe Kangas
2023-01-27 14:23:59 -08:00
parent 28f7a10732
commit 8b43173681
2 changed files with 17 additions and 9 deletions

View File

@@ -9,13 +9,26 @@
height: 75px;
width: 250px;
font-size: 0.8rem;
overflow: hidden;
@include screen(mobile){
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;
}
@include screen(mobile) {
margin: auto;
}
&:hover {
border-color: var(--theme-text-link);
border-color: var(--theme-color-action);
}
.avatar {
@@ -26,11 +39,6 @@
border-style: solid;
}
.account {
color: var(--theme-text-secondary);
text-overflow: ellipsis;
}
.placeholder {
width: 100%;
height: 100%;

View File

@@ -18,7 +18,7 @@ export const SingleFollower: FC<SingleFollowerProps> = ({ follower }) => (
</Avatar>
</Col>
<Col>
<Row>{follower.name}</Row>
<Row className={styles.name}>{follower.name}</Row>
<Row className={styles.account}>{follower.username}</Row>
</Col>
</Row>