diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-21 00:24:12 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-21 00:24:12 +0800 |
commit | b79b48cfbe93e470e1c670df990d1e9452deeabe (patch) | |
tree | 3dc51a1f3065544db81a9f4eede37a412ca13b75 /packages | |
parent | 6636a0861d6229efc7d888c48b9c6ee5ab5d1352 (diff) | |
download | dexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.tar.gz dexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.tar.zst dexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.zip |
Fix top-padding
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/pages/documentation/documentation.tsx | 4 | ||||
-rw-r--r-- | packages/website/ts/pages/wiki/wiki.tsx | 4 | ||||
-rw-r--r-- | packages/website/ts/utils/configs.ts | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/website/ts/pages/documentation/documentation.tsx b/packages/website/ts/pages/documentation/documentation.tsx index aab14a52c..a40889872 100644 --- a/packages/website/ts/pages/documentation/documentation.tsx +++ b/packages/website/ts/pages/documentation/documentation.tsx @@ -63,13 +63,13 @@ interface DocumentationState { const styles: Styles = { mainContainers: { position: 'absolute', - top: 60, + top: 1, left: 0, bottom: 0, right: 0, overflowZ: 'hidden', overflowY: 'scroll', - minHeight: 'calc(100vh - 60px)', + minHeight: 'calc(100vh - 1px)', WebkitOverflowScrolling: 'touch', }, menuContainer: { diff --git a/packages/website/ts/pages/wiki/wiki.tsx b/packages/website/ts/pages/wiki/wiki.tsx index af5b26631..e1471243d 100644 --- a/packages/website/ts/pages/wiki/wiki.tsx +++ b/packages/website/ts/pages/wiki/wiki.tsx @@ -29,13 +29,13 @@ interface WikiState { const styles: Styles = { mainContainers: { position: 'absolute', - top: 60, + top: 1, left: 0, bottom: 0, right: 0, overflowZ: 'hidden', overflowY: 'scroll', - minHeight: 'calc(100vh - 60px)', + minHeight: 'calc(100vh - 1px)', WebkitOverflowScrolling: 'touch', }, menuContainer: { diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts index 4ae40d715..df9b87f6c 100644 --- a/packages/website/ts/utils/configs.ts +++ b/packages/website/ts/utils/configs.ts @@ -17,7 +17,7 @@ const isDevelopment = _.includes([ const INFURA_API_KEY = 'T5WSC8cautR4KXyYgsRs'; export const configs = { - BACKEND_BASE_URL: isDevelopment ? 'https://localhost:3001' : 'https://website-api.0xproject.com', + BACKEND_BASE_URL: !isDevelopment ? 'https://localhost:3001' : 'https://website-api.0xproject.com', BASE_URL, BITLY_ACCESS_TOKEN: 'ffc4c1a31e5143848fb7c523b39f91b9b213d208', CONTRACT_ADDRESS: { |