No longer elevate relayer grid tile on long press
This commit is contained in:
parent
6e87e3e1ac
commit
0f11ae1875
@ -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;
|
||||||
`};
|
`};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
@ -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)};
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user