Skip to content

Commit

Permalink
fix(autocomplete): don't apply a background if the autocomplete has a…
Browse files Browse the repository at this point in the history
… floating label

The grey background should only be applied if the autocomplete doesn't have a floating label.

Closes angular#7841.

Closes angular#7848
  • Loading branch information
crisbeto authored and ilovett committed Apr 22, 2016
1 parent ee00e71 commit b9b31b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/autocomplete/autocomplete-theme.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
md-autocomplete.md-THEME_NAME-theme {
background: '{{background-A100}}';
&[disabled] {
&[disabled]:not([md-floating-label]) {
background: '{{background-100}}';
}
button {
Expand Down

0 comments on commit b9b31b6

Please sign in to comment.