Skip to content

Commit

Permalink
Merge pull request #326 from JPStrydom/patch-1
Browse files Browse the repository at this point in the history
Added web responsiveness back to date input field
  • Loading branch information
iM-GeeKy authored Sep 6, 2023
2 parents 5469662 + fddb00e commit 70a6a72
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Date/DatePickerInputWithoutModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,18 @@ const styles = StyleSheet.create({
flexGrow: 1,
justifyContent: 'center',
alignItems: 'flex-start',
width: '100%',
},
inputContainer: {
flexGrow: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'flex-start',
width: '100%',
},
input: {
flexGrow: 1,
width: '100%',
},
})
export default React.forwardRef(DatePickerInputWithoutModal)
Original file line number Diff line number Diff line change
Expand Up @@ -3862,6 +3862,7 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
"alignItems": "flex-start",
"flexGrow": 1,
"justifyContent": "center",
"width": "100%",
}
}
>
Expand All @@ -3872,6 +3873,7 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
"flexDirection": "row",
"flexGrow": 1,
"justifyContent": "flex-start",
"width": "100%",
}
}
>
Expand All @@ -3885,6 +3887,7 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
},
{
"flexGrow": 1,
"width": "100%",
},
]
}
Expand Down
3 changes: 3 additions & 0 deletions src/__tests__/Date/__snapshots__/CalendarEdit.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ exports[`renders CalendarEdit 1`] = `
"alignItems": "flex-start",
"flexGrow": 1,
"justifyContent": "center",
"width": "100%",
}
}
>
Expand All @@ -24,6 +25,7 @@ exports[`renders CalendarEdit 1`] = `
"flexDirection": "row",
"flexGrow": 1,
"justifyContent": "flex-start",
"width": "100%",
}
}
>
Expand All @@ -37,6 +39,7 @@ exports[`renders CalendarEdit 1`] = `
},
{
"flexGrow": 1,
"width": "100%",
},
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ exports[`renders DatePickerInput 1`] = `
"alignItems": "flex-start",
"flexGrow": 1,
"justifyContent": "center",
"width": "100%",
}
}
>
Expand All @@ -17,6 +18,7 @@ exports[`renders DatePickerInput 1`] = `
"flexDirection": "row",
"flexGrow": 1,
"justifyContent": "flex-start",
"width": "100%",
}
}
>
Expand All @@ -30,6 +32,7 @@ exports[`renders DatePickerInput 1`] = `
},
{
"flexGrow": 1,
"width": "100%",
},
]
}
Expand Down

0 comments on commit 70a6a72

Please sign in to comment.