From c7b4f0eb3493ffbaa330aa67762355dbf37ec008 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 4 Mar 2021 16:58:35 +0200 Subject: Fixed sizing twitch of input fields on non-chromium based browsers (FireFox) --- src/app/components/login/login.component.css | 8 ++++---- src/app/components/register/register.component.css | 8 ++++---- src/styles.css | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/components/login/login.component.css b/src/app/components/login/login.component.css index 766522e..103f5c0 100644 --- a/src/app/components/login/login.component.css +++ b/src/app/components/login/login.component.css @@ -1,7 +1,3 @@ -* { - transition: .2s; -} - form { width: 100%; } @@ -12,6 +8,10 @@ form { box-sizing: border-box; } +.submit-btn { + transition: 0.2s; +} + .input-selection:nth-of-type(1) { margin-top: 1.2em; } diff --git a/src/app/components/register/register.component.css b/src/app/components/register/register.component.css index 93d8006..973c6f0 100644 --- a/src/app/components/register/register.component.css +++ b/src/app/components/register/register.component.css @@ -1,9 +1,5 @@ /* A lot of stuff are moved to the global styles! */ -* { - transition: 0.2s; -} - form { width: 100%; } @@ -20,6 +16,10 @@ form { box-sizing: border-box; } +.submit-btn { + transition: 0.2s; +} + .input-selection:nth-of-type(1) { margin-top: 1.2em; } diff --git a/src/styles.css b/src/styles.css index 725eee4..ae70525 100644 --- a/src/styles.css +++ b/src/styles.css @@ -222,7 +222,7 @@ button:focus { } .submit-btn:active { - transition: 0s; + transition: 0s !important; transform: scale(0.9); } -- cgit v1.2.3