aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-29 08:37:22 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-29 08:37:22 +0800
commit0142e7fa8f3c28737c6352945c1f1b72c5f7339d (patch)
treeaf9046c26c5ad0168767c1870edce650f0742a96 /packages
parent467e9abf5fcda8be231e36f985964bf6d42b383e (diff)
downloaddexon-sol-tools-0142e7fa8f3c28737c6352945c1f1b72c5f7339d.tar.gz
dexon-sol-tools-0142e7fa8f3c28737c6352945c1f1b72c5f7339d.tar.zst
dexon-sol-tools-0142e7fa8f3c28737c6352945c1f1b72c5f7339d.zip
Fix button hover and active hover state
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/components/ui/button.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/ui/button.tsx b/packages/website/ts/components/ui/button.tsx
index 02fa47480..1489a74a6 100644
--- a/packages/website/ts/components/ui/button.tsx
+++ b/packages/website/ts/components/ui/button.tsx
@@ -37,7 +37,7 @@ export const Button = styled(PlainButton)`
background-color: ${props => props.backgroundColor};
border: ${props => (props.borderColor ? `1px solid ${props.borderColor}` : 'none')};
&:hover {
- background-color: ${props => (!props.isDisabled ? darken(0.1, props.backgroundColor) : '')};
+ background-color: ${props => (!props.isDisabled ? darken(0.1, props.backgroundColor) : '')} !important;
}
&:active {
background-color: ${props => (!props.isDisabled ? darken(0.2, props.backgroundColor) : '')};