diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2019-01-10 04:12:05 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2019-01-11 09:41:13 +0800 |
commit | 89e398fa39fd14c9fd4a467fdd039920fb28a420 (patch) | |
tree | 95a50e9d5c151d66f155de77d08cc203f250cccf /packages/dev-tools-pages/ts/components/trace.tsx | |
parent | 53fc860d6190c19f13c451eb89dd5c0c1cdcd1f4 (diff) | |
download | dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.gz dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.bz2 dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.lz dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.xz dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.zst dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.zip |
Update prettier to version ^1.15.3
Diffstat (limited to 'packages/dev-tools-pages/ts/components/trace.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/trace.tsx | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/packages/dev-tools-pages/ts/components/trace.tsx b/packages/dev-tools-pages/ts/components/trace.tsx index 108154648..f41dac9b7 100644 --- a/packages/dev-tools-pages/ts/components/trace.tsx +++ b/packages/dev-tools-pages/ts/components/trace.tsx @@ -108,10 +108,7 @@ interface TraceProps { background?: string; } -const StyledSection = - styled.section < - TraceProps > - ` +const StyledSection = styled.section<TraceProps>` max-width: 90rem; margin: 0 auto; background: linear-gradient(to right, ${colors.black} 50%, ${props => props.background} 50%); @@ -138,10 +135,7 @@ const Wrapper = styled(Container)` `}; `; -const Block = - styled.div < - TraceProps > - ` +const Block = styled.div<TraceProps>` width: 50%; background: ${props => (props.background ? props.background : colors.black)}; color: ${props => (props.background ? 'inherit' : colors.white)}; @@ -200,10 +194,7 @@ const Item = styled.li` } `; -const Copy = - styled.div < - { dark: boolean } > - ` +const Copy = styled.div<{ dark: boolean }>` margin-right: 5.875rem; ${props => props.dark && |