Center column of followers on mobile. Closes #2515
This commit is contained in:
parent
bf3ee58e87
commit
1d58b7fbad
@ -7,6 +7,12 @@
|
||||
@include screen(desktop) {
|
||||
background-color: var(--theme-color-components-content-background);
|
||||
}
|
||||
|
||||
@include screen(mobile) {
|
||||
.followerRow {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.noFollowers {
|
||||
|
@ -69,7 +69,7 @@ export const FollowerCollection: FC<FollowerCollectionProps> = ({ name, onFollow
|
||||
|
||||
return (
|
||||
<div className={styles.followers} id="followers-collection">
|
||||
<Row wrap gutter={[10, 10]}>
|
||||
<Row wrap gutter={[10, 10]} className={styles.followerRow}>
|
||||
{followers.map(follower => (
|
||||
<Col key={follower.link}>
|
||||
<SingleFollower key={follower.link} follower={follower} />
|
||||
|
Loading…
Reference in New Issue
Block a user