aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-10 06:21:41 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-10 06:21:41 +0800
commit128abb39dd635599841643ca65bfc286aabaa063 (patch)
tree6d19edaa6db2849c2443964a1c76c52e8305197c /packages/instant
parent79a533940e62f65def1695fe6c0990b3165f6158 (diff)
downloaddexon-sol-tools-128abb39dd635599841643ca65bfc286aabaa063.tar
dexon-sol-tools-128abb39dd635599841643ca65bfc286aabaa063.tar.gz
dexon-sol-tools-128abb39dd635599841643ca65bfc286aabaa063.tar.bz2
dexon-sol-tools-128abb39dd635599841643ca65bfc286aabaa063.tar.lz
dexon-sol-tools-128abb39dd635599841643ca65bfc286aabaa063.tar.xz
dexon-sol-tools-128abb39dd635599841643ca65bfc286aabaa063.tar.zst
dexon-sol-tools-128abb39dd635599841643ca65bfc286aabaa063.zip
feat: add padding to close icon to increase tap area
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/components/sliding_panel.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/sliding_panel.tsx b/packages/instant/src/components/sliding_panel.tsx
index 44bc8edb3..7f9037049 100644
--- a/packages/instant/src/components/sliding_panel.tsx
+++ b/packages/instant/src/components/sliding_panel.tsx
@@ -18,7 +18,7 @@ export interface PanelProps {
export const Panel: React.StatelessComponent<PanelProps> = ({ children, onClose }) => (
<Container backgroundColor={ColorOption.white} width="100%" height="100%" zIndex={zIndex.panel} padding="20px">
<Flex justify="flex-end">
- <Icon width={12} color={ColorOption.lightGrey} icon="closeX" onClick={onClose} />
+ <Icon padding="5px" width={12} color={ColorOption.lightGrey} icon="closeX" onClick={onClose} />
</Flex>
<Container position="relative" top="-10px" height="100%">
{children}