From 6c772c6038f1e091a50f7502cf1d1f8b5c9b846a Mon Sep 17 00:00:00 2001 From: Vasek Mlejnsky Date: Thu, 23 Aug 2018 15:59:37 +0200 Subject: [PATCH] User hover css constant --- .../Wallet/components/LeftNavigation/components/Row/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/views/Wallet/components/LeftNavigation/components/Row/index.js b/src/js/views/Wallet/components/LeftNavigation/components/Row/index.js index 403490e3..ab34f58b 100644 --- a/src/js/views/Wallet/components/LeftNavigation/components/Row/index.js +++ b/src/js/views/Wallet/components/LeftNavigation/components/Row/index.js @@ -2,7 +2,7 @@ import styled, { css } from 'styled-components'; import React from 'react'; import PropTypes from 'prop-types'; -import { TRANSITION_TIME } from 'config/variables'; +import { TRANSITION } from 'config/variables'; const Wrapper = styled.div` height: 100%; @@ -10,7 +10,7 @@ const Wrapper = styled.div` display: flex; align-items: center; justify-content: space-between; - transition: background-color ${TRANSITION_TIME.BASE} ease-in-out, color ${TRANSITION_TIME.BASE} ease-in-out, border-color ${TRANSITION_TIME.BASE} ease-in-out; + transition: ${TRANSITION.HOVER}; ${props => props.disabled && css` cursor: not-allowed;