views: fix positioning of form hints.

Position <span class="hint"> elements to the right of normal <input>
elements and underneath <textarea> elements. Fixes form hints being
badly positioned on some pages.
This commit is contained in:
evazion
2019-09-10 00:04:39 -05:00
parent 347aa4b835
commit 49d38d6256
11 changed files with 11 additions and 55 deletions

View File

@@ -20,11 +20,18 @@ form.simple_form {
max-width: 20em;
}
span.hint {
display: block;
.hint {
padding-left: 1em;
font-size: 70%;
}
&.text {
.hint {
padding-left: 0em;
display: block;
}
}
textarea {
width: 70%;
font-size: 1.2em;