aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-02-16 14:52:40 +0800
committerFabio Berger <me@fabioberger.com>2018-02-16 14:52:40 +0800
commitc6ecdbd86e3066b76e62f4f6eae5990414e9c84a (patch)
tree689720ebc3cac5318163c386275b44e94c9caa53 /packages/website
parent03797545f92733b3539001fa8518a523a44310ac (diff)
downloaddexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.tar
dexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.tar.gz
dexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.tar.bz2
dexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.tar.lz
dexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.tar.xz
dexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.tar.zst
dexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.zip
use const over hard-coding
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/pages/documentation/documentation.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/pages/documentation/documentation.tsx b/packages/website/ts/pages/documentation/documentation.tsx
index 2227f59d3..9591ddabe 100644
--- a/packages/website/ts/pages/documentation/documentation.tsx
+++ b/packages/website/ts/pages/documentation/documentation.tsx
@@ -68,7 +68,7 @@ const styles: Styles = {
right: 0,
overflowZ: 'hidden',
overflowY: 'scroll',
- minHeight: 'calc(100vh - 60px)',
+ minHeight: `calc(100vh - ${TOP_BAR_HEIGHT}px)`,
WebkitOverflowScrolling: 'touch',
},
menuContainer: {