app/assets/stylesheets/materialize/components/forms/_input-fields.scss in materialize-sass-0.98.1 vs app/assets/stylesheets/materialize/components/forms/_input-fields.scss in materialize-sass-0.98.2
- old
+ new
@@ -156,10 +156,11 @@
top: 0.8rem;
left: 0;
font-size: 1rem;
cursor: text;
transition: .2s ease-out;
+ text-align: initial;
&:not(.label-icon).active {
font-size: $label-font-size;
transform: translateY(-140%);
}
@@ -262,9 +263,13 @@
display: none;
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word; /* future version of deprecated 'word-wrap' */
padding-top: 1.2rem; /* prevents text jump on Enter keypress */
+
+ // Reduces repaints
+ position: absolute;
+ top: 0;
}
/* Autocomplete */
.autocomplete-content {