Some views have margins applied inconsistently causing layout shift.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Initialize Auth UI in the Sign In view
Note that the "Email address" label is 16px from the top of the container
Click "Forgot your password?"
The "Email address" label will now be 8px from the top of the container
Expected behavior
In my opinion there shouldn't be any margins (so "Email address" will be 0px from the top of the container), but at the very least it should be the same.
Bug report
Describe the bug
Some views have margins applied inconsistently causing layout shift.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
In my opinion there shouldn't be any margins (so "Email address" will be 0px from the top of the container), but at the very least it should be the same.
Screenshots
https://github.com/supabase/auth-ui/assets/40037115/ec4f9c3d-e4fd-4ec6-9631-a800e64c3b8f