diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-05 07:26:02 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-05 07:26:02 +0800 |
commit | 0ec1c4ad6d21d10e65f8632b0417f236fe9c72b7 (patch) | |
tree | 6d821502b33db1bd5cb2ad20e247eb17d3a76201 /packages | |
parent | 15a3a8c62fd19bb2f09fb5de340babb990318b07 (diff) | |
download | dexon-sol-tools-0ec1c4ad6d21d10e65f8632b0417f236fe9c72b7.tar.gz dexon-sol-tools-0ec1c4ad6d21d10e65f8632b0417f236fe9c72b7.tar.zst dexon-sol-tools-0ec1c4ad6d21d10e65f8632b0417f236fe9c72b7.zip |
Fix type errors in CSS properties
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/components/top_bar/top_bar.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/components/ui/input_label.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/pages/wiki/wiki.tsx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx index 8bea58b0a..7fb476ba0 100644 --- a/packages/website/ts/components/top_bar/top_bar.tsx +++ b/packages/website/ts/components/top_bar/top_bar.tsx @@ -56,7 +56,7 @@ const styles: Styles = { width: 70, }, topBar: { - backgroundcolor: colors.white, + backgroundColor: colors.white, height: 59, width: '100%', position: 'relative', diff --git a/packages/website/ts/components/ui/input_label.tsx b/packages/website/ts/components/ui/input_label.tsx index 6a3f26155..8137c0db6 100644 --- a/packages/website/ts/components/ui/input_label.tsx +++ b/packages/website/ts/components/ui/input_label.tsx @@ -17,7 +17,7 @@ const styles = { userSelect: 'none', width: 240, zIndex: 1, - }, + } as React.CSSProperties, }; export const InputLabel = (props: InputLabelProps) => { diff --git a/packages/website/ts/pages/wiki/wiki.tsx b/packages/website/ts/pages/wiki/wiki.tsx index 7ed2b750d..edca5834d 100644 --- a/packages/website/ts/pages/wiki/wiki.tsx +++ b/packages/website/ts/pages/wiki/wiki.tsx @@ -47,7 +47,7 @@ const styles: Styles = { left: 0, bottom: 0, right: 0, - overflowZ: 'hidden', + overflow: 'hidden', height: `calc(100vh - ${TOP_BAR_HEIGHT}px)`, WebkitOverflowScrolling: 'touch', }, |