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