From e61f8c9483fbabe3b870a3ad34e5b589708dc538 Mon Sep 17 00:00:00 2001 From: Sofiya Tepikin Date: Fri, 8 Jan 2021 16:34:00 +0000 Subject: [PATCH] Fixes the date label on chart from breaking --- components/chart/chart-legend.js | 2 +- components/home.js | 2 +- styles/typography.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/chart/chart-legend.js b/components/chart/chart-legend.js index 6739161..9d6e8cc 100644 --- a/components/chart/chart-legend.js +++ b/components/chart/chart-legend.js @@ -28,7 +28,7 @@ const styles = StyleSheet.create({ width: CHART_YAXIS_WIDTH }, text: { - ...Typography.label + ...Typography.label, }, textBold: { ...Typography.labelBold diff --git a/components/home.js b/components/home.js index 423d82a..a6c8cc1 100644 --- a/components/home.js +++ b/components/home.js @@ -116,7 +116,6 @@ const Asterisk = () => { const styles = StyleSheet.create({ asterisk: { color: Colors.orange, - paddingRight: Spacing.base, }, container: { backgroundColor: Colors.purple, @@ -150,6 +149,7 @@ const styles = StyleSheet.create({ }, greyText: { color: Colors.greyLight, + paddingLeft: Spacing.base, } }) diff --git a/styles/typography.js b/styles/typography.js index 3df807b..5b1bfd0 100644 --- a/styles/typography.js +++ b/styles/typography.js @@ -11,7 +11,7 @@ export const fonts = { export const sizes = { tiny: 7 / fontRatio, footnote: 10 / fontRatio, - small: 14 / fontRatio, + small: 13 / fontRatio, base: 18 / fontRatio, subtitle: 22 / fontRatio, title: 24 / fontRatio,