Center column of followers on mobile. Closes #2515

This commit is contained in:
Gabe Kangas 2023-01-12 15:05:55 -08:00
parent bf3ee58e87
commit 1d58b7fbad
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,12 @@
@include screen(desktop) {
background-color: var(--theme-color-components-content-background);
}
@include screen(mobile) {
.followerRow {
justify-content: center;
}
}
}
.noFollowers {

View File

@ -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} />