set max-width for textarea

This commit is contained in:
SimaQ 2015-07-27 08:52:47 +08:00
parent 0bd869bbc2
commit 70d2a21755

View File

@ -67,6 +67,7 @@
// Reset height for `textarea`s
textarea& {
max-width: 100%; // prevent textearea resize from coming out of its container
height: auto;
vertical-align: bottom;
}