diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-03 05:21:04 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-03 05:21:04 +0800 |
commit | cc4ccda6232af470b96950a37fa1d0f4b4ef7f3a (patch) | |
tree | 871fd2eae9cddfa7425f4b4b834a2f34ea0368e7 /packages/instant/src/components/ui/container.tsx | |
parent | 819ba1430337d330dec05be5a4bae5651419bf63 (diff) | |
download | dexon-0x-contracts-cc4ccda6232af470b96950a37fa1d0f4b4ef7f3a.tar.gz dexon-0x-contracts-cc4ccda6232af470b96950a37fa1d0f4b4ef7f3a.tar.zst dexon-0x-contracts-cc4ccda6232af470b96950a37fa1d0f4b4ef7f3a.zip |
chore: address PR comments
Diffstat (limited to 'packages/instant/src/components/ui/container.tsx')
-rw-r--r-- | packages/instant/src/components/ui/container.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/instant/src/components/ui/container.tsx b/packages/instant/src/components/ui/container.tsx index e228a01b6..a0a187e5f 100644 --- a/packages/instant/src/components/ui/container.tsx +++ b/packages/instant/src/components/ui/container.tsx @@ -70,7 +70,9 @@ export const Container = &:hover { ${props => props.darkenOnHover - ? `background-color: ${darken(0.05, props.theme[props.backgroundColor || 'white'])}` + ? `background-color: ${ + props.backgroundColor ? darken(0.05, props.theme[props.backgroundColor]) : 'none' + }` : ''}; } `; |