Skip to content

Commit 85f64d8

Browse files
committed
Use spacing variable for axis labels
1 parent 1c9f512 commit 85f64d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

styles/native/js/core/widgets/linechart.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const com_mendix_widget_native_linechart_LineChart = {
7070
color: font.color,
7171
alignSelf: "center",
7272
marginHorizontal: 0,
73-
marginVertical: 8,
73+
marginVertical: spacing.smallest,
7474
fontFamily: font.family,
7575
fontSize: font.sizeSmall,
7676
fontWeight: font.weightNormal,
@@ -100,7 +100,7 @@ export const com_mendix_widget_native_linechart_LineChart = {
100100
*/
101101
color: font.color,
102102
marginHorizontal: 0,
103-
marginVertical: 8,
103+
marginVertical: spacing.smallest,
104104
fontFamily: font.family,
105105
fontSize: font.sizeSmall,
106106
fontWeight: font.weightNormal,

styles/native/ts/core/widgets/linechart.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const com_mendix_widget_native_linechart_LineChart: LineChartType = {
7272
color: font.color,
7373
alignSelf: "center",
7474
marginHorizontal: 0,
75-
marginVertical: 8,
75+
marginVertical: spacing.smallest,
7676
fontFamily: font.family,
7777
fontSize: font.sizeSmall,
7878
fontWeight: font.weightNormal,
@@ -102,7 +102,7 @@ export const com_mendix_widget_native_linechart_LineChart: LineChartType = {
102102
*/
103103
color: font.color,
104104
marginHorizontal: 0,
105-
marginVertical: 8,
105+
marginVertical: spacing.smallest,
106106
fontFamily: font.family,
107107
fontSize: font.sizeSmall,
108108
fontWeight: font.weightNormal,

0 commit comments

Comments
 (0)