diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-17 18:48:32 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-17 18:48:32 +0800 |
commit | 0c298b7be43998bcd10bcd323920c846ae5693cb (patch) | |
tree | e284d9d9d9ac82db5b429ae84fe79328a3040d7e /packages/website/ts/@next/components/definition.tsx | |
parent | 6eb8256555ad276c374d9cf4410db1f19141e884 (diff) | |
download | dexon-0x-contracts-0c298b7be43998bcd10bcd323920c846ae5693cb.tar dexon-0x-contracts-0c298b7be43998bcd10bcd323920c846ae5693cb.tar.gz dexon-0x-contracts-0c298b7be43998bcd10bcd323920c846ae5693cb.tar.bz2 dexon-0x-contracts-0c298b7be43998bcd10bcd323920c846ae5693cb.tar.lz dexon-0x-contracts-0c298b7be43998bcd10bcd323920c846ae5693cb.tar.xz dexon-0x-contracts-0c298b7be43998bcd10bcd323920c846ae5693cb.tar.zst dexon-0x-contracts-0c298b7be43998bcd10bcd323920c846ae5693cb.zip |
Fixes mobile button layout for Definition component
Diffstat (limited to 'packages/website/ts/@next/components/definition.tsx')
-rw-r--r-- | packages/website/ts/@next/components/definition.tsx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/definition.tsx b/packages/website/ts/@next/components/definition.tsx index d556bc647..77f837294 100644 --- a/packages/website/ts/@next/components/definition.tsx +++ b/packages/website/ts/@next/components/definition.tsx @@ -116,10 +116,21 @@ const TextWrap = styled.div<Props>` `; const LinkWrap = styled.div` - display: inline-flex; margin-top: 60px; - a + a { - margin-left: 60px; + @media (min-width: 768px) { + display: inline-flex; + + a + a { + margin-left: 60px; + } + } + + @media (max-width: 768px) { + max-width: 250px; + + a + a { + margin-top: 15px; + } } `; |