aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/button.tsx
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-12-18 03:21:53 +0800
committerGitHub <noreply@github.com>2018-12-18 03:21:53 +0800
commitc0b469fdd9658df8b96f2c8dbf7901058afbf005 (patch)
tree0cc9e9d2db8a11608fffdc50f79e5295150266ee /packages/website/ts/@next/components/button.tsx
parent9b4d1a1e3876313bf36b692128b40647b9e491df (diff)
parent47db165afc51a8ffe5ffe0d194a1e893bfb94083 (diff)
downloaddexon-sol-tools-c0b469fdd9658df8b96f2c8dbf7901058afbf005.tar.gz
dexon-sol-tools-c0b469fdd9658df8b96f2c8dbf7901058afbf005.tar.zst
dexon-sol-tools-c0b469fdd9658df8b96f2c8dbf7901058afbf005.zip
Merge pull request #1440 from bakkenbaeck/feature/website/0x-org
Feature/website/0x org
Diffstat (limited to 'packages/website/ts/@next/components/button.tsx')
-rw-r--r--packages/website/ts/@next/components/button.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx
index 05afa3534..ab804b758 100644
--- a/packages/website/ts/@next/components/button.tsx
+++ b/packages/website/ts/@next/components/button.tsx
@@ -62,6 +62,7 @@ const ButtonBase = styled.button<ButtonInterface>`
border-color: ${props => (props.isTransparent && !props.isWithArrow) && 'rgba(255, 255, 255, .4)'};
color: ${props => props.isAccentColor ? props.theme.linkColor : (props.color || props.theme.textColor)};
padding: ${props => (!props.isNoPadding && !props.isWithArrow) && '18px 30px'};
+ white-space: ${props => props.isWithArrow && 'nowrap'};
text-align: center;
font-size: ${props => props.isWithArrow ? '20px' : '18px'};
text-decoration: none;