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

This reverts commit d449834a28.

The signup input tips were hidden instead.
This commit is contained in:
Régis Hanol 2019-12-20 09:42:11 +01:00
parent ebb288dc2c
commit 7030c93206
3 changed files with 6 additions and 20 deletions

View File

@ -1 +1 @@
{{tipIcon}}{{tipReason}} {{tipIcon}} {{tipReason}}

View File

@ -12,17 +12,6 @@
display: none; display: none;
} }
.login-form .tip {
.d-icon {
margin-right: 0.25em;
}
&:not(:empty) {
+ td {
display: none;
}
}
}
#login-form { #login-form {
table { table {
width: 100%; width: 100%;
@ -83,6 +72,9 @@
margin-bottom: 0; margin-bottom: 0;
padding-top: 5px; padding-top: 5px;
} }
&:first-of-type > label {
margin-top: 0;
}
input[type="text"] { input[type="text"] {
margin-bottom: 0; margin-bottom: 0;
@ -101,7 +93,7 @@
font-weight: normal; font-weight: normal;
} }
.instructions { .instructions {
margin-top: 0.4em; margin-top: 0.15em;
color: $primary-medium; color: $primary-medium;
line-height: $line-height-medium; line-height: $line-height-medium;
} }

View File

@ -222,10 +222,6 @@
margin-top: 5px; margin-top: 5px;
} }
&:first-of-type > label {
margin-top: 0;
}
> label { > label {
width: auto; width: auto;
} }
@ -269,14 +265,12 @@
.login-form { .login-form {
.tip { .tip {
&:empty { &:not(:empty) + td {
display: none; display: none;
} }
&:not(:empty), &:not(:empty),
&:empty + td { &:empty + td {
min-height: 1.75em; min-height: 1.75em;
margin-top: 0.25em;
&.bad .svg-icon { &.bad .svg-icon {
vertical-align: middle; vertical-align: middle;
} }