aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-21 00:24:12 +0800
committerFabio Berger <me@fabioberger.com>2017-12-21 00:24:12 +0800
commitb79b48cfbe93e470e1c670df990d1e9452deeabe (patch)
tree3dc51a1f3065544db81a9f4eede37a412ca13b75 /packages/website/ts/pages
parent6636a0861d6229efc7d888c48b9c6ee5ab5d1352 (diff)
downloaddexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.tar
dexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.tar.gz
dexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.tar.bz2
dexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.tar.lz
dexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.tar.xz
dexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.tar.zst
dexon-sol-tools-b79b48cfbe93e470e1c670df990d1e9452deeabe.zip
Fix top-padding
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r--packages/website/ts/pages/documentation/documentation.tsx4
-rw-r--r--packages/website/ts/pages/wiki/wiki.tsx4
2 files changed, 4 insertions, 4 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: {