Align date label with dates
This commit is contained in:
@@ -170,10 +170,7 @@ export default class CycleChart extends Component {
|
|||||||
size={styles.yAxis.width - 7}
|
size={styles.yAxis.width - 7}
|
||||||
color={cycleDayColor}
|
color={cycleDayColor}
|
||||||
/>
|
/>
|
||||||
<AppText style={[
|
<AppText style={[styles.yAxisLabels.dateLabel]}>
|
||||||
styles.column.label.date,
|
|
||||||
styles.yAxisLabels.dateLabel
|
|
||||||
]}>
|
|
||||||
{labels.date.toLowerCase()}
|
{labels.date.toLowerCase()}
|
||||||
</AppText>
|
</AppText>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ const styles = {
|
|||||||
fontSize: 9,
|
fontSize: 9,
|
||||||
fontWeight: '100',
|
fontWeight: '100',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
paddingTop: 2.5
|
||||||
},
|
},
|
||||||
number: {
|
number: {
|
||||||
color: cycleDayColor,
|
color: cycleDayColor,
|
||||||
@@ -101,7 +102,10 @@ const styles = {
|
|||||||
},
|
},
|
||||||
dateLabel: {
|
dateLabel: {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
justifyContent: 'center'
|
justifyContent: 'center',
|
||||||
|
color: 'grey',
|
||||||
|
fontSize: 9,
|
||||||
|
fontWeight: '100',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
horizontalGrid: {
|
horizontalGrid: {
|
||||||
|
|||||||
Reference in New Issue
Block a user