From a1472d186daba3ca8d626e82c0f654cbb1c9a1b6 Mon Sep 17 00:00:00 2001 From: seanpierce Date: Thu, 8 Feb 2024 14:53:39 -0800 Subject: [PATCH] Fix login form --- app/src/styles/chat.scss | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/app/src/styles/chat.scss b/app/src/styles/chat.scss index 377df29..4c9b0c2 100644 --- a/app/src/styles/chat.scss +++ b/app/src/styles/chat.scss @@ -23,14 +23,15 @@ padding: 2em; width: 100%; max-width: 500px; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); + display: block; + margin: auto; .new-user-form { + display: block; + margin: auto; font-size: 2em; text-align: center; + color: white; input { font-size: 1em; @@ -38,17 +39,19 @@ padding: 0.25em; background: none; border: none; - border-bottom: solid 2px #333; + border-bottom: solid 2px white; width: 100%; outline: none; + text-align: center; + color: white; } button { font-size: 1em; width: 100%; background: none; - color: #333; - border: solid 2px #333; + color: white; + border: solid 2px white; padding: 0.25em; border-radius: 0; cursor: pointer; @@ -57,6 +60,11 @@ .helper { font-size: 16px; margin-top: 16px; + color: white; + + &.warning { + color: red; + } } } }