Fix type errors in CSS properties

This commit is contained in:
Leonid Logvinov 2018-05-05 01:26:02 +02:00
parent 15a3a8c62f
commit 0ec1c4ad6d
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ const styles: Styles = {
width: 70, width: 70,
}, },
topBar: { topBar: {
backgroundcolor: colors.white, backgroundColor: colors.white,
height: 59, height: 59,
width: '100%', width: '100%',
position: 'relative', position: 'relative',

View File

@ -17,7 +17,7 @@ const styles = {
userSelect: 'none', userSelect: 'none',
width: 240, width: 240,
zIndex: 1, zIndex: 1,
}, } as React.CSSProperties,
}; };
export const InputLabel = (props: InputLabelProps) => { export const InputLabel = (props: InputLabelProps) => {

View File

@ -47,7 +47,7 @@ const styles: Styles = {
left: 0, left: 0,
bottom: 0, bottom: 0,
right: 0, right: 0,
overflowZ: 'hidden', overflow: 'hidden',
height: `calc(100vh - ${TOP_BAR_HEIGHT}px)`, height: `calc(100vh - ${TOP_BAR_HEIGHT}px)`,
WebkitOverflowScrolling: 'touch', WebkitOverflowScrolling: 'touch',
}, },