fix(input): remove resize handle from non-textarea inputs (#6768)

Fixes some input types getting a native resize handle, because we were setting the `resize: vertical` explicitly for all `.mat-input-element` instances.

Fixes #6757.
This commit is contained in:
Kristiyan Kostadinov
2017-09-01 16:48:18 +02:00
committed by Jeremy Elbourn
parent e318de6cd1
commit 1272f03215
+2 -1
View File
@@ -22,7 +22,6 @@
// Prevent textareas from being resized outside the form field.
max-width: 100%;
resize: vertical;
// Needed to make last line of the textarea line up with the baseline.
vertical-align: bottom;
@@ -45,5 +44,7 @@
// Prevents IE from always adding a scrollbar by default.
textarea.mat-input-element {
// Only allow resizing along the Y axis.
resize: vertical;
overflow: auto;
}