diff --git a/frontend/src/index.css b/frontend/src/index.css index 9c33a36..42001d7 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -21,6 +21,15 @@ body { } +.login-center { + display: flex; + justify-content: center; + align-content: center; + align-items: center; + /* 64px is the height of the App bar */ + height: calc(100vh - 64px); +} + .paper { padding: 12px; } diff --git a/frontend/src/pages/login.tsx b/frontend/src/pages/login.tsx index 44c4200..2240bda 100644 --- a/frontend/src/pages/login.tsx +++ b/frontend/src/pages/login.tsx @@ -82,52 +82,44 @@ const LoginPageWithRouter = withRouter( } }; - return