Merge branch '271-chart-view-date-should-be-on-same-line-as-actual-dates' into 'master'

Resolve "Chart view: "date" should be on same line as actual dates"

Closes #271

See merge request bloodyhealth/drip!184
This commit is contained in:
bl00dymarie
2019-03-20 19:56:07 +00:00
2 changed files with 6 additions and 5 deletions
+1 -4
View File
@@ -170,10 +170,7 @@ export default class CycleChart extends Component {
size={styles.yAxis.width - 7}
color={cycleDayColor}
/>
<AppText style={[
styles.column.label.date,
styles.yAxisLabels.dateLabel
]}>
<AppText style={[styles.yAxisLabels.dateLabel]}>
{labels.date.toLowerCase()}
</AppText>
</View>
+5 -1
View File
@@ -34,6 +34,7 @@ const styles = {
fontSize: 9,
fontWeight: '100',
textAlign: 'center',
paddingTop: 2.5
},
number: {
color: cycleDayColor,
@@ -101,7 +102,10 @@ const styles = {
},
dateLabel: {
textAlign: 'center',
justifyContent: 'center'
justifyContent: 'center',
color: 'grey',
fontSize: 9,
fontWeight: '100',
}
},
horizontalGrid: {