diff --git a/packages/web/src/download/Cover.tsx b/packages/web/src/download/Cover.tsx index f7887343878..f6eae605be4 100644 --- a/packages/web/src/download/Cover.tsx +++ b/packages/web/src/download/Cover.tsx @@ -19,6 +19,7 @@ export default withScreenSize( return ( @@ -44,13 +49,7 @@ export default withScreenSize( - + @@ -60,6 +59,17 @@ export default withScreenSize( }) ) +function phoneStyle(screen: ScreenSizes) { + switch (screen) { + case ScreenSizes.MOBILE: + return styles.mobilePhone + case ScreenSizes.TABLET: + return styles.tabletPhone + default: + return styles.phone + } +} + const styles = StyleSheet.create({ container: { justifyContent: 'space-between', @@ -75,13 +85,18 @@ const styles = StyleSheet.create({ flex1: { flex: 1, }, - phone: { - height: '50vh', - maxWidth: '45vw', - }, content: { justifyContent: 'center', marginHorizontal: 20, + maxWidth: 350, + }, + phone: { + height: '50vh', + maxWidth: 275, + }, + tabletPhone: { + height: '35vh', + maxWidth: 240, }, mobilePhone: { height: '33vh', diff --git a/packages/web/static/locales/en/download.json b/packages/web/static/locales/en/download.json index 8eddbd345e2..8cb4ac2bcc2 100644 --- a/packages/web/static/locales/en/download.json +++ b/packages/web/static/locales/en/download.json @@ -1,6 +1,6 @@ { "coverTitle": "Celo Wallet", - "coverSubTitle": "Available for Android, iOS coming soon", + "coverSubTitle": "Available for Android,\niOS coming soon", "getStarted": "Get Started", "coverAction": { "faucet": {