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

Commit

Permalink
fix(autocomplete): fixes height issue on md-not-found message
Browse files Browse the repository at this point in the history
Closes #5305
  • Loading branch information
Robert Messerle committed Nov 20, 2015
1 parent e07c52d commit f1dcaf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/autocomplete/autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ md-autocomplete {
z-index: $z-index-tooltip;
}

.md-virtual-repeat-container.md-not-found {
height: 48px;
}

.md-autocomplete-suggestions {
margin: 0;
list-style: none;
Expand Down
1 change: 1 addition & 0 deletions src/components/autocomplete/js/autocompleteDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ function MdAutocomplete () {
ng-mouseup="$mdAutocompleteCtrl.mouseUp()"\
ng-hide="$mdAutocompleteCtrl.hidden"\
class="md-autocomplete-suggestions-container md-whiteframe-z1"\
ng-class="{ \'md-not-found\': $mdAutocompleteCtrl.notFoundVisible() }"\
role="presentation">\
<ul class="md-autocomplete-suggestions"\
ng-class="::menuClass"\
Expand Down

0 comments on commit f1dcaf9

Please sign in to comment.