Skip to content

Commit

Permalink
Adjust textarea height when rows attribute is present
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo authored Jul 10, 2018
1 parent c7a5d43 commit 62872f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scss/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ select.form-control {
height: auto;
}
}

textarea.form-control {
&[rows] {
height: auto;
}
}
// stylelint-enable no-duplicate-selectors

// Form groups
Expand Down

0 comments on commit 62872f4

Please sign in to comment.