diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-02 09:38:25 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-02 09:38:25 +0800 |
commit | 209b2c9dcb6e9e81011b64e7b8bad719dec35379 (patch) | |
tree | 8349a766305a9719ea10deabeff87d92c491be58 /packages/instant/src | |
parent | cdaa1407dacacc53e01a70b1e0ac46536342a4e0 (diff) | |
download | dexon-sol-tools-209b2c9dcb6e9e81011b64e7b8bad719dec35379.tar dexon-sol-tools-209b2c9dcb6e9e81011b64e7b8bad719dec35379.tar.gz dexon-sol-tools-209b2c9dcb6e9e81011b64e7b8bad719dec35379.tar.bz2 dexon-sol-tools-209b2c9dcb6e9e81011b64e7b8bad719dec35379.tar.lz dexon-sol-tools-209b2c9dcb6e9e81011b64e7b8bad719dec35379.tar.xz dexon-sol-tools-209b2c9dcb6e9e81011b64e7b8bad719dec35379.tar.zst dexon-sol-tools-209b2c9dcb6e9e81011b64e7b8bad719dec35379.zip |
feat: improve position of close X in token selector
Diffstat (limited to 'packages/instant/src')
-rw-r--r-- | packages/instant/src/components/sliding_panel.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/instant/src/components/sliding_panel.tsx b/packages/instant/src/components/sliding_panel.tsx index 9064c220c..ea1d6b9a1 100644 --- a/packages/instant/src/components/sliding_panel.tsx +++ b/packages/instant/src/components/sliding_panel.tsx @@ -22,7 +22,9 @@ export const Panel: React.StatelessComponent<PanelProps> = ({ title, children, o </Text> </Container> )} - <Icon width={12} color={ColorOption.lightGrey} icon="closeX" onClick={onClose} /> + <Container position="relative" bottom="7px"> + <Icon width={12} color={ColorOption.lightGrey} icon="closeX" onClick={onClose} /> + </Container> </Flex> <Container marginTop="10px">{children}</Container> </Container> |