From 800aee2fcd5c77cf3e090c689d0141e66ea98aab Mon Sep 17 00:00:00 2001
From: Jure Triglav <juretriglav@gmail.com>
Date: Wed, 30 Sep 2020 13:57:30 +0200
Subject: [PATCH] fix: add conditional margin-top to SectionContent

---
 app/components/shared/General.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app/components/shared/General.js b/app/components/shared/General.js
index e057d79e9e..737024c03d 100644
--- a/app/components/shared/General.js
+++ b/app/components/shared/General.js
@@ -19,9 +19,10 @@ export const SectionContent = styled(Section)`
   padding: 0;
   box-shadow: ${th('boxShadow')};
   background-color: ${th('colorBackground')};
-  &:not(:first-of-type) {
-    margin-top: ${grid(3)};
-  }
+  margin-top: ${({ noGap }) => (noGap ? 0 : grid(2))};
+  // &:not(:first-of-type) {
+    // margin-top: ${grid(3)};
+  // }
   border-radius: ${({ noGap }) =>
     noGap
       ? css`0 ${th('borderRadius')} ${th('borderRadius')}`
-- 
GitLab