diff options
author | Fabio Berger <me@fabioberger.com> | 2019-01-12 00:12:55 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2019-01-12 00:12:55 +0800 |
commit | 96ff5eef644b8c4d3f8fc4ec53270991fb51f121 (patch) | |
tree | 530f43b03d2b3aa09b5f6552d4285df92d45fed0 /packages/website/ts/pages/why.tsx | |
parent | 7f5a2c972bb86df77c423fb7029e9a629ecc1ede (diff) | |
parent | 2cf57a48dd2857dd5cf2f31f4c60dd47ae4d34a5 (diff) | |
download | dexon-0x-contracts-96ff5eef644b8c4d3f8fc4ec53270991fb51f121.tar dexon-0x-contracts-96ff5eef644b8c4d3f8fc4ec53270991fb51f121.tar.gz dexon-0x-contracts-96ff5eef644b8c4d3f8fc4ec53270991fb51f121.tar.bz2 dexon-0x-contracts-96ff5eef644b8c4d3f8fc4ec53270991fb51f121.tar.lz dexon-0x-contracts-96ff5eef644b8c4d3f8fc4ec53270991fb51f121.tar.xz dexon-0x-contracts-96ff5eef644b8c4d3f8fc4ec53270991fb51f121.tar.zst dexon-0x-contracts-96ff5eef644b8c4d3f8fc4ec53270991fb51f121.zip |
merge development
Diffstat (limited to 'packages/website/ts/pages/why.tsx')
-rw-r--r-- | packages/website/ts/pages/why.tsx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/packages/website/ts/pages/why.tsx b/packages/website/ts/pages/why.tsx index 197ce5fc9..a0ed5f95a 100644 --- a/packages/website/ts/pages/why.tsx +++ b/packages/website/ts/pages/why.tsx @@ -229,10 +229,7 @@ interface SectionProps { isNotRelative?: boolean; } -const SectionWrap = - styled.div < - SectionProps > - ` +const SectionWrap = styled.div<SectionProps>` position: ${props => !props.isNotRelative && 'relative'}; & + & { @@ -258,10 +255,7 @@ const SectionWrap = interface SectionTitleProps { isNoBorder?: boolean; } -const SectionTitle = - styled(Heading) < - SectionTitleProps > - ` +const SectionTitle = styled(Heading)<SectionTitleProps>` position: relative; ${props => @@ -278,7 +272,6 @@ const SectionTitle = } `} - @media (max-width: 768px) { &:before { width: calc(100vw - 60px); |