From 78fb6f30de932c3ff4ae29d3bef17677382e210e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Midb=C3=B8e?= Date: Tue, 10 Mar 2020 10:16:48 +0100 Subject: [PATCH] Desktop friendly styling for login and create pages. --- src/styles/loginAndRegister.scss | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/styles/loginAndRegister.scss b/src/styles/loginAndRegister.scss index 91a3c89..40d7068 100644 --- a/src/styles/loginAndRegister.scss +++ b/src/styles/loginAndRegister.scss @@ -27,14 +27,14 @@ form { justify-content: space-around; align-items: center; flex-wrap: wrap; - margin: 0 auto; - width: 60vw; + margin: 2rem auto 0; + width: 80vw; + max-width: 1100px; @include mobile { display: flex; flex-direction: column; justify-content: center; - margin: 0 auto; width: 90vw; } @@ -44,8 +44,10 @@ form { line-height: 2rem; border: none; border-bottom: 1px solid black; + max-width: 30vw; @include mobile { + max-width: unset; font-size: 2rem; min-height: 2rem; line-height: 2rem; @@ -66,4 +68,4 @@ form { width: calc(100% - 5rem); background-color: $light-red; color: $red; -} \ No newline at end of file +}