mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed margins on lab
This commit is contained in:
parent
57f37723fa
commit
c3537208a3
3 changed files with 24 additions and 10 deletions
|
@ -56,16 +56,18 @@ const LabGrid: FC<IProps> = () => {
|
|||
|
||||
return (
|
||||
<InfiniteScroll hasMore={hasMore} loadMore={loadMore}>
|
||||
<Columns>
|
||||
{nodes.map(node => (
|
||||
<LabNode
|
||||
node={node.node}
|
||||
key={node.node.id}
|
||||
lastSeen={node.last_seen}
|
||||
commentCount={node.comment_count}
|
||||
/>
|
||||
))}
|
||||
</Columns>
|
||||
<div className={styles.wrap}>
|
||||
<Columns>
|
||||
{nodes.map(node => (
|
||||
<LabNode
|
||||
node={node.node}
|
||||
key={node.node.id}
|
||||
lastSeen={node.last_seen}
|
||||
commentCount={node.comment_count}
|
||||
/>
|
||||
))}
|
||||
</Columns>
|
||||
</div>
|
||||
</InfiniteScroll>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
margin-top: -$gap * 1.5;
|
||||
margin-left: -$gap * 0.5;
|
||||
|
||||
@include tablet {
|
||||
margin: -$gap $gap * 0.5 0 0;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue