Skip to content

Commit

Permalink
fix form button
Browse files Browse the repository at this point in the history
  • Loading branch information
perunt committed Sep 4, 2023
1 parent e4283bc commit ce90d1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/TimePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ function TimePicker({forwardedRef, value, errorText, onInputChange}) {
</View>
</View>
<View
style={[styles.pageWrapper, styles.pb0, styles.mb12]}
style={[styles.pageWrapper, styles.pb0]}
nativeID={NUM_PAD_CONTAINER_VIEW_ID}
>
{numberPad()}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Profile/CustomStatus/SetTimePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function SetTimePage({translate, privatePersonalDetails, customStatus}) {
formID={ONYXKEYS.FORMS.SETTINGS_STATUS_SET_TIME_FORM}
onSubmit={onSubmit}
submitButtonText={translate('common.save')}
submitButtonContainerStyles={[styles.mt0, styles.flex0, styles.mh4]}
submitButtonContainerStyles={[styles.flex0, styles.justifyContentStart, styles.mh5, styles.setTimeFormButtonContainer]}
validate={validate}
enabledWhenOffline
shouldUseDefaultValue
Expand Down
3 changes: 3 additions & 0 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -3944,6 +3944,9 @@ const styles = {
timePickerInputExtraSmall: {
fontSize: 50,
},
setTimeFormButtonContainer: {
minHeight: 54
}
};

export default styles;

0 comments on commit ce90d1b

Please sign in to comment.