No longer elevate relayer grid tile on long press

This commit is contained in:
fragosti 2018-07-03 18:22:19 -07:00
parent 6e87e3e1ac
commit 0f11ae1875
2 changed files with 4 additions and 3 deletions

View File

@ -108,12 +108,13 @@ export const RelayerGridTile: React.StatelessComponent<RelayerGridTileProps> = (
const GridTile = styled(PlainGridTile)` const GridTile = styled(PlainGridTile)`
cursor: pointer; cursor: pointer;
transition: transform 0.2s ease;
&:hover { &:hover {
transition: transform 0.2s ease;
transform: translate(0px, -3px); transform: translate(0px, -3px);
} }
${media.small` ${media.small`
transform: none; transform: none !important;
transition: none !important;
`}; `};
`; `;

View File

@ -2,7 +2,7 @@ import { css } from 'ts/style/theme';
import { ScreenWidths } from 'ts/types'; import { ScreenWidths } from 'ts/types';
const generateMediaWrapper = (screenWidth: ScreenWidths) => (...args: any[]) => css` const generateMediaWrapper = (screenWidth: ScreenWidths) => (...args: any[]) => css`
@media (max-width: ${screenWidth}) { @media (max-width: ${screenWidth}em) {
${css.apply(css, args)}; ${css.apply(css, args)};
} }
`; `;