Skip to content

Commit 5c187f3

Browse files
committed
fix: remove tabs top margin
1 parent 6de3523 commit 5c187f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common-elements/tabs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export const Tabs = styled(ReactTabs)`
2222
text-align: center;
2323
outline: none;
2424
color: ${({ theme }) => darken(theme.colors.tonalOffset, theme.rightPanel.textColor)};
25-
margin: 5px;
25+
margin: 0
26+
${({ theme }) => `${theme.spacing.unit}px ${theme.spacing.unit}px ${theme.spacing.unit}px`};
2627
border: 1px solid ${({ theme }) => darken(0.05, theme.codeSample.backgroundColor)};
2728
border-radius: 5px;
2829
min-width: 60px;

0 commit comments

Comments
 (0)