diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-12-01 16:03:07 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-12-01 16:03:07 +0800 |
commit | 800016b430a941682d4cdb89f85b46c27b835e39 (patch) | |
tree | b326bd7aa62dba598d5e55a20be127183135f686 /packages/instant/src/components/ui | |
parent | 502e9c7be48caafd7725451789f896efdaf17dac (diff) | |
download | dexon-sol-tools-800016b430a941682d4cdb89f85b46c27b835e39.tar dexon-sol-tools-800016b430a941682d4cdb89f85b46c27b835e39.tar.gz dexon-sol-tools-800016b430a941682d4cdb89f85b46c27b835e39.tar.bz2 dexon-sol-tools-800016b430a941682d4cdb89f85b46c27b835e39.tar.lz dexon-sol-tools-800016b430a941682d4cdb89f85b46c27b835e39.tar.xz dexon-sol-tools-800016b430a941682d4cdb89f85b46c27b835e39.tar.zst dexon-sol-tools-800016b430a941682d4cdb89f85b46c27b835e39.zip |
fix(instant) various token selector fixes
Diffstat (limited to 'packages/instant/src/components/ui')
-rw-r--r-- | packages/instant/src/components/ui/container.tsx | 1 | ||||
-rw-r--r-- | packages/instant/src/components/ui/input.tsx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/components/ui/container.tsx b/packages/instant/src/components/ui/container.tsx index e7d909d92..636eb8fc9 100644 --- a/packages/instant/src/components/ui/container.tsx +++ b/packages/instant/src/components/ui/container.tsx @@ -77,6 +77,7 @@ export const Container = ${props => cssRuleIfExists(props, 'opacity')} ${props => cssRuleIfExists(props, 'cursor')} ${props => cssRuleIfExists(props, 'overflow')} + ${props => (props.overflow === 'scroll' ? `-webkit-overflow-scrolling: touch` : '')}; ${props => (props.hasBoxShadow ? `box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1)` : '')}; ${props => props.display && stylesForMedia<string>('display', props.display)} ${props => props.width && stylesForMedia<string>('width', props.width)} diff --git a/packages/instant/src/components/ui/input.tsx b/packages/instant/src/components/ui/input.tsx index 1ea5d8fe1..863c970ef 100644 --- a/packages/instant/src/components/ui/input.tsx +++ b/packages/instant/src/components/ui/input.tsx @@ -10,6 +10,7 @@ export interface InputProps { fontSize?: string; fontColor?: ColorOption; placeholder?: string; + type?: string; onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void; } |