Visit the link and then open the file login_screen/components/Form.js
. Within this file, you will notice that the textInput
is styled as follows:
textInput: {
flex:1,
height: 50,
marginBottom: 20
}
If you observe closely, you'll see that the user icons are not aligning properly with the text input. Removing the marginBottom
property resolves the alignment issue, but keeping it at 20
causes the icons to be misaligned. One potential solution could involve aligning the text input vertically as well, although the root cause of the problem remains unclear.
How does the marginBottom
property impact the internal alignment of UserInput
, given its intended purpose of creating external spacing?
If you prefer, here is a direct link to a screenshot in case you don't want to wait for the app to load: