horvathmarton / stock-buddy-dashboard

Web app for the Stock Buddy portfolio monitoring platform.
MIT License
0 stars 0 forks source link

Fix jumping form error message on the login view #3

Closed horvathmarton closed 2 years ago

horvathmarton commented 2 years ago

Expected behavior

When the Invalid username or password error message is displayed on the login form it doesn't change the layout of the other elements.

Actual behavior

When the Invalid username or password error message is displayed on the login form it pushes the login button down, thus the form "jumps".

Steps to Reproduce the Problem

  1. Logout if logged in.
  2. Enter an invalid username and password pair.
  3. Hit the login button.

Screenshots

Screen Shot 2022-02-03 at 21 26 57

Screen Shot 2022-02-03 at 21 27 08