aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-03 08:26:48 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-03 08:26:48 +0800
commita5231df6d9d8c9b89431df2e4674f46d307f6d80 (patch)
treead34f5ebe57f30c912d2f021f3298c22220dd6b9 /packages/website/ts/components
parent73e81c62fb2e902cb7252410fe162e8f2ba2596b (diff)
downloaddexon-sol-tools-a5231df6d9d8c9b89431df2e4674f46d307f6d80.tar
dexon-sol-tools-a5231df6d9d8c9b89431df2e4674f46d307f6d80.tar.gz
dexon-sol-tools-a5231df6d9d8c9b89431df2e4674f46d307f6d80.tar.bz2
dexon-sol-tools-a5231df6d9d8c9b89431df2e4674f46d307f6d80.tar.lz
dexon-sol-tools-a5231df6d9d8c9b89431df2e4674f46d307f6d80.tar.xz
dexon-sol-tools-a5231df6d9d8c9b89431df2e4674f46d307f6d80.tar.zst
dexon-sol-tools-a5231df6d9d8c9b89431df2e4674f46d307f6d80.zip
Add media query abstraction around ScreenWidths and stop relayer grid hover effect on mobile
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/onboarding/unlock_wallet_onboarding_step.tsx2
-rw-r--r--packages/website/ts/components/relayer_index/relayer_grid_tile.tsx4
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/website/ts/components/onboarding/unlock_wallet_onboarding_step.tsx b/packages/website/ts/components/onboarding/unlock_wallet_onboarding_step.tsx
index 0039aa545..4ed7137d4 100644
--- a/packages/website/ts/components/onboarding/unlock_wallet_onboarding_step.tsx
+++ b/packages/website/ts/components/onboarding/unlock_wallet_onboarding_step.tsx
@@ -10,7 +10,7 @@ export const UnlockWalletOnboardingStep: React.StatelessComponent<UnlockWalletOn
<Container marginTop="15px" marginBottom="15px">
<img src="/images/metamask_icon.png" height="50px" width="50px" />
</Container>
- <Text center={true}>Unlock your metamask extension to get started.</Text>
+ <Text center={true}>Unlock your MetaMask extension to get started.</Text>
</div>
</div>
);
diff --git a/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx b/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx
index b26bf512b..20594e5ca 100644
--- a/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx
+++ b/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx
@@ -9,6 +9,7 @@ import { Container } from 'ts/components/ui/container';
import { Image } from 'ts/components/ui/image';
import { Island } from 'ts/components/ui/island';
import { colors } from 'ts/style/colors';
+import { media } from 'ts/style/media';
import { styled } from 'ts/style/theme';
import { WebsiteBackendRelayerInfo } from 'ts/types';
import { utils } from 'ts/utils/utils';
@@ -111,6 +112,9 @@ const GridTile = styled(PlainGridTile)`
&:hover {
transform: translate(0px, -3px);
}
+ ${media.small`
+ transform: none;
+ `};
`;
interface SectionProps {