Slightly improve styling of follower
This commit is contained in:
@@ -9,13 +9,26 @@
|
|||||||
height: 75px;
|
height: 75px;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
font-size: 0.8rem;
|
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;
|
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>
|
||||||
|
|||||||
Reference in New Issue
Block a user