diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-14 19:17:12 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-14 19:17:12 +0800 |
commit | bf183af9a42aefd1c639e5924ed93f93fd821378 (patch) | |
tree | fd2f875248d8ccd4f287c61e749787343cec5723 /packages/dev-tools-pages/ts/components/trace.tsx | |
parent | 2b8f0d887ad529bb0557a55c67cc162977c7b270 (diff) | |
parent | 797d7c7878e33ce012259a6a5db5335e9dc838ba (diff) | |
download | dexon-0x-contracts-bf183af9a42aefd1c639e5924ed93f93fd821378.tar dexon-0x-contracts-bf183af9a42aefd1c639e5924ed93f93fd821378.tar.gz dexon-0x-contracts-bf183af9a42aefd1c639e5924ed93f93fd821378.tar.bz2 dexon-0x-contracts-bf183af9a42aefd1c639e5924ed93f93fd821378.tar.lz dexon-0x-contracts-bf183af9a42aefd1c639e5924ed93f93fd821378.tar.xz dexon-0x-contracts-bf183af9a42aefd1c639e5924ed93f93fd821378.tar.zst dexon-0x-contracts-bf183af9a42aefd1c639e5924ed93f93fd821378.zip |
Merge development
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 && |