Skip to content

A platform for community discussion. Free, open, simple.

Revert "FIX: Show signup input tips and improve spacing"

Régis Hanol7030c9320601
diff --git a/app/assets/javascripts/discourse/templates/components/input-tip.hbs b/app/assets/javascripts/discourse/templates/components/input-tip.hbs
index 32182f3e458..ade54357b51 100644
--- a/app/assets/javascripts/discourse/templates/components/input-tip.hbs
+++ b/app/assets/javascripts/discourse/templates/components/input-tip.hbs
@@ -1 +1 @@
-{{tipIcon}}{{tipReason}}
+{{tipIcon}} {{tipReason}}
diff --git a/app/assets/stylesheets/common/base/login.scss b/app/assets/stylesheets/common/base/login.scss
index fc6c4094e8a..fa1af85ec78 100644
--- a/app/assets/stylesheets/common/base/login.scss
+++ b/app/assets/stylesheets/common/base/login.scss
@@ -12,17 +12,6 @@
display: none;
}
-.login-form .tip {
- .d-icon {
- margin-right: 0.25em;
- }
- &:not(:empty) {
- + td {
- display: none;
- }
- }
-}
-
#login-form {
table {
width: 100%;
@@ -83,6 +72,9 @@
margin-bottom: 0;
padding-top: 5px;
}
+ &:first-of-type > label {
+ margin-top: 0;
+ }
input[type="text"] {
margin-bottom: 0;
@@ -101,7 +93,7 @@
font-weight: normal;
}
.instructions {
- margin-top: 0.4em;
+ margin-top: 0.15em;
color: $primary-medium;
line-height: $line-height-medium;
}
diff --git a/app/assets/stylesheets/desktop/login.scss b/app/assets/stylesheets/desktop/login.scss
index 84b451bb7a4..8ddc7f7d21f 100644
--- a/app/assets/stylesheets/desktop/login.scss
+++ b/app/assets/stylesheets/desktop/login.scss
@@ -222,10 +222,6 @@
margin-top: 5px;
}
- &:first-of-type > label {
- margin-top: 0;
- }
-
> label {
width: auto;
}
@@ -269,14 +265,12 @@
.login-form {
.tip {
- &:empty {
+ &:not(:empty) + td {
display: none;
}
-
&:not(:empty),
&:empty + td {
min-height: 1.75em;
- margin-top: 0.25em;
&.bad .svg-icon {
vertical-align: middle;
}