Fixes the date label on chart from breaking

This commit is contained in:
Sofiya Tepikin
2021-01-08 16:34:00 +00:00
parent 9a87bf760c
commit e61f8c9483
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ const styles = StyleSheet.create({
width: CHART_YAXIS_WIDTH width: CHART_YAXIS_WIDTH
}, },
text: { text: {
...Typography.label ...Typography.label,
}, },
textBold: { textBold: {
...Typography.labelBold ...Typography.labelBold
+1 -1
View File
@@ -116,7 +116,6 @@ const Asterisk = () => {
const styles = StyleSheet.create({ const styles = StyleSheet.create({
asterisk: { asterisk: {
color: Colors.orange, color: Colors.orange,
paddingRight: Spacing.base,
}, },
container: { container: {
backgroundColor: Colors.purple, backgroundColor: Colors.purple,
@@ -150,6 +149,7 @@ const styles = StyleSheet.create({
}, },
greyText: { greyText: {
color: Colors.greyLight, color: Colors.greyLight,
paddingLeft: Spacing.base,
} }
}) })
+1 -1
View File
@@ -11,7 +11,7 @@ export const fonts = {
export const sizes = { export const sizes = {
tiny: 7 / fontRatio, tiny: 7 / fontRatio,
footnote: 10 / fontRatio, footnote: 10 / fontRatio,
small: 14 / fontRatio, small: 13 / fontRatio,
base: 18 / fontRatio, base: 18 / fontRatio,
subtitle: 22 / fontRatio, subtitle: 22 / fontRatio,
title: 24 / fontRatio, title: 24 / fontRatio,