fix(input): prevent textarea from resizing beyond input container (#5333)

Prevents `textarea` instances from resizing beyond their `md-input-container`.
This commit is contained in:
Kristiyan Kostadinov
2017-07-07 19:01:33 +02:00
committed by mmalerba
parent b8c900c3f5
commit 36dc75a39a
+4
View File
@@ -85,6 +85,10 @@ $mat-input-underline-height: 1px !default;
padding: 0;
width: 100%;
// Prevent textareas from being resized outside the container.
max-width: 100%;
resize: vertical;
// Needed to make last line of the textarea line up with the baseline.
vertical-align: bottom;