show form group tooltips as hint instead of tooltip

This commit is contained in:
Felix Hamann 2019-02-10 21:24:29 +01:00
parent 5ecb39da9d
commit 64482ff870
2 changed files with 3 additions and 4 deletions

View File

@ -32,6 +32,7 @@
.form-group__hint {
color: var(--color-fontsec);
font-size: 0.9rem;
}
.form-group--required {

View File

@ -12,9 +12,7 @@ $case formLayout
$if not (Blaze.null $ fvLabel view)
<label .form-group__label for=#{fvId view}>
#{fvLabel view}
$maybe tooltip <- fvTooltip view
<div .js-tooltip>
<div .tooltip__handle>
<div .tooltip__content>^{tooltip}
$maybe hint <- fvTooltip view
<div .form-group__hint>^{hint}
<div .form-group__input>
^{fvInput view}