styled-component style error in tabs

This commit is contained in:
zhzxang 2019-06-18 14:04:23 +08:00 committed by GitHub
parent 753b013eee
commit b9835df57f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ export const SmallTabs = styled(Tabs)`
> .react-tabs__tab-panel { > .react-tabs__tab-panel {
& > div, & > div,
& > pre { & > pre {
padding: ${props => props.theme.spacing.unit * 2} 0; padding: ${props => props.theme.spacing.unit * 2}px 0;
} }
} }
`; `;