1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-24 18:52:55 +01:00

give floating labels correct spacing

This commit is contained in:
Matthias Kretschmann 2015-12-21 14:17:28 +01:00
parent 08dc78bb06
commit 8a55aed152

View File

@ -75,7 +75,7 @@
&:invalid:not(.is-empty) ~ .form-label, &:invalid:not(.is-empty) ~ .form-label,
&.parsley-error ~ .form-label, &.parsley-error ~ .form-label,
&.parsley-success ~ .form-label { &.parsley-success ~ .form-label {
transform: translate3d(0, -($spacer), 0) scale(.75); transform: translate3d(0, -($spacer + $input-padding-x), 0) scale(.75);
transform-origin: left top; transform-origin: left top;
} }
} }