1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

fixed margins on lab

This commit is contained in:
Fedor Katurov 2022-04-08 18:25:35 +07:00
parent 57f37723fa
commit c3537208a3
3 changed files with 24 additions and 10 deletions

View file

@ -119,6 +119,8 @@
}
.images {
cursor: pointer;
img {
max-height: 400px;
border-radius: $radius;

View file

@ -56,6 +56,7 @@ const LabGrid: FC<IProps> = () => {
return (
<InfiniteScroll hasMore={hasMore} loadMore={loadMore}>
<div className={styles.wrap}>
<Columns>
{nodes.map(node => (
<LabNode
@ -66,6 +67,7 @@ const LabGrid: FC<IProps> = () => {
/>
))}
</Columns>
</div>
</InfiniteScroll>
);
};

View file

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