fix to stop resize of text area - less

This commit is contained in:
N Venkatesh Naik 2015-03-16 21:53:24 +05:30
parent b607634e60
commit c9c13019de

View File

@ -29,6 +29,14 @@ select[multiple].form-control {
background-position: center bottom, center calc(~"100% - 1px");
background-color: transparent;
background-color: rgba(0,0,0,0);
// fix to stop horizontal resize.
textarea& {
height: auto;
+ resize: vertical; // fix to stop horizontal resize.
&[disabled] {
resize: vertical;
}
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
background-color: transparent;