aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/portal
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-22 02:06:53 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-22 02:06:53 +0800
commit8e2c0bb97758a978f704ad8aea916cbfe43abc16 (patch)
treed0a49d1e2daf720deea5bbb749a4184518038ee3 /packages/website/ts/components/portal
parentc34897036e8cf896e6d0b3c7733ed9c739921f74 (diff)
parent88500e37146dc9152050fdd810f9f3c3cc5faf9f (diff)
downloaddexon-sol-tools-8e2c0bb97758a978f704ad8aea916cbfe43abc16.tar
dexon-sol-tools-8e2c0bb97758a978f704ad8aea916cbfe43abc16.tar.gz
dexon-sol-tools-8e2c0bb97758a978f704ad8aea916cbfe43abc16.tar.bz2
dexon-sol-tools-8e2c0bb97758a978f704ad8aea916cbfe43abc16.tar.lz
dexon-sol-tools-8e2c0bb97758a978f704ad8aea916cbfe43abc16.tar.xz
dexon-sol-tools-8e2c0bb97758a978f704ad8aea916cbfe43abc16.tar.zst
dexon-sol-tools-8e2c0bb97758a978f704ad8aea916cbfe43abc16.zip
Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into feature/website/mobile-friendly-onboarding
Diffstat (limited to 'packages/website/ts/components/portal')
-rw-r--r--packages/website/ts/components/portal/back_button.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/website/ts/components/portal/back_button.tsx b/packages/website/ts/components/portal/back_button.tsx
index 2d0bbefc3..ca35abc2b 100644
--- a/packages/website/ts/components/portal/back_button.tsx
+++ b/packages/website/ts/components/portal/back_button.tsx
@@ -2,6 +2,7 @@ import { Styles } from '@0xproject/react-shared';
import * as React from 'react';
import { Link } from 'react-router-dom';
+import { Island } from 'ts/components/ui/island';
import { colors } from 'ts/style/colors';
export interface BackButtonProps {
@@ -15,9 +16,7 @@ const styles: Styles = {
backButton: {
height: BACK_BUTTON_HEIGHT,
paddingTop: 10,
- backgroundColor: colors.white,
borderRadius: BACK_BUTTON_HEIGHT,
- boxShadow: `0px 4px 6px ${colors.walletBoxShadow}`,
},
backButtonIcon: {
color: colors.mediumBlue,
@@ -29,14 +28,14 @@ export const BackButton = (props: BackButtonProps) => {
return (
<div style={{ height: 65, paddingTop: 25 }}>
<Link to={props.to} style={{ textDecoration: 'none' }}>
- <div className="flex right" style={styles.backButton}>
+ <Island className="flex right" style={styles.backButton}>
<div style={{ marginLeft: 12 }}>
<i style={styles.backButtonIcon} className={`zmdi zmdi-arrow-left`} />
</div>
<div style={{ marginLeft: 12, marginRight: 12 }}>
<div style={{ fontSize: 16, color: colors.lightGrey }}>{props.labelText}</div>
</div>
- </div>
+ </Island>
</Link>
</div>
);