aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/instant/features.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-28 04:31:27 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-29 02:59:54 +0800
commit6c76731408b19616bf5eb6066463c28287ade49f (patch)
tree5cc1cd61f1c88b00dead029d5754344c2afe481d /packages/website/ts/pages/instant/features.tsx
parent3d88b7f289a9d36887c96a9cb62266ee5cc1065a (diff)
downloaddexon-sol-tools-6c76731408b19616bf5eb6066463c28287ade49f.tar
dexon-sol-tools-6c76731408b19616bf5eb6066463c28287ade49f.tar.gz
dexon-sol-tools-6c76731408b19616bf5eb6066463c28287ade49f.tar.bz2
dexon-sol-tools-6c76731408b19616bf5eb6066463c28287ade49f.tar.lz
dexon-sol-tools-6c76731408b19616bf5eb6066463c28287ade49f.tar.xz
dexon-sol-tools-6c76731408b19616bf5eb6066463c28287ade49f.tar.zst
dexon-sol-tools-6c76731408b19616bf5eb6066463c28287ade49f.zip
feat(website): need more section for instant marketing page
Diffstat (limited to 'packages/website/ts/pages/instant/features.tsx')
-rw-r--r--packages/website/ts/pages/instant/features.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/pages/instant/features.tsx b/packages/website/ts/pages/instant/features.tsx
index 3f5d3d8d1..96256d337 100644
--- a/packages/website/ts/pages/instant/features.tsx
+++ b/packages/website/ts/pages/instant/features.tsx
@@ -11,7 +11,7 @@ export interface FeatureProps {
}
export const Features = (props: FeatureProps) => (
- <Container backgroundColor={colors.instantSecondaryBackground} className="py3 flex flex-column">
+ <Container backgroundColor={colors.instantSecondaryBackground} className="py3 flex flex-column px3">
<FeatureItem
imgSrc="images/instant/snt_screenshot.png"
title="Support ERC-20 and ERC-721 tokens"
@@ -75,7 +75,7 @@ interface FeatureItemProps {
const FeatureItem = (props: FeatureItemProps) => {
const { imgSrc, title, description, linkInfos, screenWidth } = props;
const isLargeScreen = screenWidth === ScreenWidths.Lg;
- const image = <Container backgroundColor={colors.instantPrimaryBackground} width="425px" height="225px" />;
+ const image = <Container backgroundColor={colors.instantPrimaryBackground} maxWidth="425px" maxHeight="225px" />;
const info = (
<Container maxWidth="500px">
<Text fontSize="24px" lineHeight="34px" fontColor={colors.white} fontWeight={500}>