diff options
author | Fabio Berger <me@fabioberger.com> | 2018-02-16 14:52:40 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-02-16 14:52:40 +0800 |
commit | c6ecdbd86e3066b76e62f4f6eae5990414e9c84a (patch) | |
tree | 689720ebc3cac5318163c386275b44e94c9caa53 /packages/website/ts/pages | |
parent | 03797545f92733b3539001fa8518a523a44310ac (diff) | |
download | dexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.tar.gz dexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.tar.zst dexon-sol-tools-c6ecdbd86e3066b76e62f4f6eae5990414e9c84a.zip |
use const over hard-coding
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r-- | packages/website/ts/pages/documentation/documentation.tsx | 2 |
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: { |