diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-12-04 04:48:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-04 04:48:42 +0800 |
commit | f076cdb8329693e9d7351ec88d2ac01ad42a2a3a (patch) | |
tree | 87677e557b2897422089b4a3e35fbcb6f00b89c2 /packages/instant/src/components/ui/container.tsx | |
parent | 3662ab25246a53128d85e8427ebe07518245b611 (diff) | |
parent | c52d48d4db693a71b6eecf93dde5d7cbb64c51b6 (diff) | |
download | dexon-sol-tools-f076cdb8329693e9d7351ec88d2ac01ad42a2a3a.tar dexon-sol-tools-f076cdb8329693e9d7351ec88d2ac01ad42a2a3a.tar.gz dexon-sol-tools-f076cdb8329693e9d7351ec88d2ac01ad42a2a3a.tar.bz2 dexon-sol-tools-f076cdb8329693e9d7351ec88d2ac01ad42a2a3a.tar.lz dexon-sol-tools-f076cdb8329693e9d7351ec88d2ac01ad42a2a3a.tar.xz dexon-sol-tools-f076cdb8329693e9d7351ec88d2ac01ad42a2a3a.tar.zst dexon-sol-tools-f076cdb8329693e9d7351ec88d2ac01ad42a2a3a.zip |
Merge pull request #1365 from 0xProject/fix/instant/token-selector
[instant] various polish items
Diffstat (limited to 'packages/instant/src/components/ui/container.tsx')
-rw-r--r-- | packages/instant/src/components/ui/container.tsx | 1 |
1 files changed, 1 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)} |