diff --git a/src/Time/TimeInput.tsx b/src/Time/TimeInput.tsx index 813d8928..7ccde1a3 100644 --- a/src/Time/TimeInput.tsx +++ b/src/Time/TimeInput.tsx @@ -83,6 +83,7 @@ function TimeInput( : undefined, borderWidth: theme.isV3 && highlighted ? 2 : 0, height: inputType === inputTypes.keyboard ? 72 : 80, + paddingLeft: (Platform.OS === 'android' || Platform.OS === 'ios') ? 0 : 10, }, ]} > @@ -143,8 +144,7 @@ function TimeInput( const styles = StyleSheet.create({ root: { - alignItems: 'center', - justifyContent: 'center', + justifyContent: "center", width: 96, }, input: { diff --git a/src/__tests__/Time/__snapshots__/TimeInput.test.tsx.snap b/src/__tests__/Time/__snapshots__/TimeInput.test.tsx.snap index 8b287c6f..f1de53f3 100644 --- a/src/__tests__/Time/__snapshots__/TimeInput.test.tsx.snap +++ b/src/__tests__/Time/__snapshots__/TimeInput.test.tsx.snap @@ -5,7 +5,6 @@ exports[`renders TimeInput 1`] = ` style={ [ { - "alignItems": "center", "justifyContent": "center", "width": 96, }, @@ -15,6 +14,7 @@ exports[`renders TimeInput 1`] = ` "borderRadius": 8, "borderWidth": 2, "height": 80, + "paddingLeft": 0, }, ] } diff --git a/src/__tests__/Time/__snapshots__/TimeInputs.test.tsx.snap b/src/__tests__/Time/__snapshots__/TimeInputs.test.tsx.snap index 20046148..9bed0931 100644 --- a/src/__tests__/Time/__snapshots__/TimeInputs.test.tsx.snap +++ b/src/__tests__/Time/__snapshots__/TimeInputs.test.tsx.snap @@ -23,7 +23,6 @@ exports[`renders TimeInputs 1`] = ` style={ [ { - "alignItems": "center", "justifyContent": "center", "width": 96, }, @@ -33,6 +32,7 @@ exports[`renders TimeInputs 1`] = ` "borderRadius": 8, "borderWidth": 0, "height": 72, + "paddingLeft": 0, }, ] } @@ -172,7 +172,6 @@ exports[`renders TimeInputs 1`] = ` style={ [ { - "alignItems": "center", "justifyContent": "center", "width": 96, }, @@ -182,6 +181,7 @@ exports[`renders TimeInputs 1`] = ` "borderRadius": 8, "borderWidth": 0, "height": 72, + "paddingLeft": 0, }, ] } diff --git a/src/__tests__/Time/__snapshots__/TimePicker.test.tsx.snap b/src/__tests__/Time/__snapshots__/TimePicker.test.tsx.snap index fedc9108..7e55fb71 100644 --- a/src/__tests__/Time/__snapshots__/TimePicker.test.tsx.snap +++ b/src/__tests__/Time/__snapshots__/TimePicker.test.tsx.snap @@ -31,7 +31,6 @@ exports[`renders TimePicker 1`] = ` style={ [ { - "alignItems": "center", "justifyContent": "center", "width": 96, }, @@ -41,6 +40,7 @@ exports[`renders TimePicker 1`] = ` "borderRadius": 8, "borderWidth": 0, "height": 72, + "paddingLeft": 0, }, ] } @@ -180,7 +180,6 @@ exports[`renders TimePicker 1`] = ` style={ [ { - "alignItems": "center", "justifyContent": "center", "width": 96, }, @@ -190,6 +189,7 @@ exports[`renders TimePicker 1`] = ` "borderRadius": 8, "borderWidth": 0, "height": 72, + "paddingLeft": 0, }, ] }