diff --git a/frontend/src/assets/main.css b/frontend/src/assets/main.css index 4dadf12..d0e340a 100644 --- a/frontend/src/assets/main.css +++ b/frontend/src/assets/main.css @@ -41,7 +41,6 @@ h4 text-decoration: none; } - .info { margin: 1.5rem 0 1rem 0; } @@ -70,6 +69,19 @@ h4 padding: 0 1rem; } +.form-wrapper { + width: 100%; + max-width: 100%; + padding: 0 1rem; + box-sizing: border-box; +} + +.button-wrapper { + margin-top: 1.5rem; + display: flex; + justify-content: center; +} + @media (hover: hover) { a:hover { text-decoration: underline; diff --git a/frontend/src/components/CustomInput.vue b/frontend/src/components/CustomInput.vue index d90f179..f622288 100644 --- a/frontend/src/components/CustomInput.vue +++ b/frontend/src/components/CustomInput.vue @@ -45,14 +45,14 @@ const onChange = (event) => { \ No newline at end of file + +@media (min-width: 576px) { + .form-wrapper { + max-width: 90%; + } +} + + +@media (min-width: 1024px) { + .form-wrapper { + max-width: 70%; + } +} + + + diff --git a/frontend/src/views/Authentication/LoginView.vue b/frontend/src/views/Authentication/LoginView.vue index 52e8ff7..4768daa 100644 --- a/frontend/src/views/Authentication/LoginView.vue +++ b/frontend/src/views/Authentication/LoginView.vue @@ -39,12 +39,17 @@ const login = async () => { - diff --git a/frontend/src/views/Authentication/SignUpView.vue b/frontend/src/views/Authentication/SignUpView.vue index 786fad0..9f65ef3 100644 --- a/frontend/src/views/Authentication/SignUpView.vue +++ b/frontend/src/views/Authentication/SignUpView.vue @@ -12,6 +12,7 @@ const clearForm = () => { username.value = ''; password.value = ''; confirmPassword.value = ''; + validationMessage.value = ''; }; const register = async () => { @@ -39,14 +40,19 @@ const register = async () => { +