Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitc7b4f0eb3493ffbaa330aa67762355dbf37ec008 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-03-04 16:58:35 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-03-04 16:58:35 +0200
Filesbc7cddccdd73f1f1035672950470078b7f5a03ca /src
DevHive-Angular-c7b4f0eb3493ffbaa330aa67762355dbf37ec008.tar
DevHive-Angular-c7b4f0eb3493ffbaa330aa67762355dbf37ec008.tar.gz
DevHive-Angular-c7b4f0eb3493ffbaa330aa67762355dbf37ec008.zip
Parentb3c37ed5528cbef77f3914c41b2bbf22bed9fb9b (diff)
Fixed sizing twitch of input fields on non-chromium based browsers (FireFox)
3 files changed, 9 insertions, 9 deletions
-rw-r--r--src/app/components/login/login.component.css8
-rw-r--r--src/app/components/register/register.component.css8
-rw-r--r--src/styles.css2
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);
}