aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-13 23:29:14 +0800
committerFabio Berger <me@fabioberger.com>2018-10-13 23:29:14 +0800
commit6baadc746e35724ec4193e9afa01cd17e836372c (patch)
tree16e53b4fda0413a59d002b61d828e29a42b05128 /packages/website/ts/components/ui
parente0e011eb668a13c25cb5dc64256f89d07e9cbe15 (diff)
downloaddexon-sol-tools-6baadc746e35724ec4193e9afa01cd17e836372c.tar.gz
dexon-sol-tools-6baadc746e35724ec4193e9afa01cd17e836372c.tar.zst
dexon-sol-tools-6baadc746e35724ec4193e9afa01cd17e836372c.zip
Implement new version dropdown and remove it from nestedTopBar
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r--packages/website/ts/components/ui/button.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/components/ui/button.tsx b/packages/website/ts/components/ui/button.tsx
index 75ba7bcff..ccaadc800 100644
--- a/packages/website/ts/components/ui/button.tsx
+++ b/packages/website/ts/components/ui/button.tsx
@@ -10,6 +10,7 @@ export interface ButtonProps {
fontFamily?: string;
backgroundColor?: string;
borderColor?: string;
+ borderRadius?: string;
width?: string;
padding?: string;
type?: string;
@@ -29,7 +30,7 @@ export const Button = styled(PlainButton)`
color: ${props => props.fontColor};
transition: background-color, opacity 0.5s ease;
padding: ${props => props.padding};
- border-radius: 6px;
+ border-radius: ${props => props.borderRadius};
font-weight: 500;
outline: none;
font-family: ${props => props.fontFamily};
@@ -52,6 +53,7 @@ export const Button = styled(PlainButton)`
Button.defaultProps = {
fontSize: '12px',
+ borderRadius: '6px',
backgroundColor: colors.white,
width: 'auto',
fontFamily: 'Roboto',