Skip to content
Snippets Groups Projects
Commit 800aee2f authored by Jure's avatar Jure
Browse files

fix: add conditional margin-top to SectionContent

parent b27a844e
No related branches found
No related tags found
No related merge requests found
......@@ -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')}`
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment