Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(input): improve textarea appearance on firefox and IE
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBurleson committed Mar 12, 2015
1 parent c818da7 commit a693dab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ md-input-container {
overflow: hidden;
}

textarea.md-input {
min-height: 2 * $input-line-height + $input-border-width-focused + $input-padding-top;
-ms-flex-preferred-size: auto; //IE fix
}

label:not(.md-no-float),
.md-placeholder {
order: 1;
Expand Down Expand Up @@ -94,7 +99,7 @@ md-input-container {
* The .md-input class is added to the input/textarea
*/
.md-input {
flex: 1;
flex: 1 1 auto;
order: 2;
display: block;

Expand Down

0 comments on commit a693dab

Please sign in to comment.