aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-07 08:05:12 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-07 08:05:12 +0800
commit4cf6fbc6a3638d21a3e5631cdd7260e12e02e221 (patch)
tree1a08884deaff39a64640940afcc05fbd0a51ca79
parent10da1e24e13b728c2837e5360a48fcb2913855a5 (diff)
downloaddexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.tar
dexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.tar.gz
dexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.tar.bz2
dexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.tar.lz
dexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.tar.xz
dexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.tar.zst
dexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.zip
fix: use fontSize prop in button
-rw-r--r--packages/instant/src/components/ui/button.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/instant/src/components/ui/button.tsx b/packages/instant/src/components/ui/button.tsx
index fe0b7e6c7..b90221bf4 100644
--- a/packages/instant/src/components/ui/button.tsx
+++ b/packages/instant/src/components/ui/button.tsx
@@ -29,10 +29,9 @@ export const Button = styled(PlainButton)`
&& {
all: initial;
box-sizing: border-box;
- font-size: 15px;
+ font-size: ${props => props.fontSize};
font-family: 'Inter UI', sans-serif;
font-weight: 600;
- font-size: ${props => props.fontSize};
color: ${props => props.fontColor && props.theme[props.fontColor]};
cursor: ${props => (props.isDisabled ? 'default' : 'pointer')};
transition: background-color, opacity 0.5s ease;