Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Commit

Permalink
Styling for overlay attribute
Browse files Browse the repository at this point in the history
Add necessary styling for overlay attribute.
  • Loading branch information
SamarRizvi authored Aug 10, 2017
1 parent de114e6 commit 799235c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/auto-complete.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="autocomplete" ng-if="suggestionList.visible">
<div class="autocomplete" ng-if="suggestionList.visible" ng-style="suggestionList.overlay && {position: 'fixed', width: suggestionList.width}">
<ul class="suggestion-list">
<li class="suggestion-item"
ng-repeat="item in suggestionList.items track by track(item)"
Expand All @@ -8,4 +8,4 @@
<ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match>
</li>
</ul>
</div>
</div>

0 comments on commit 799235c

Please sign in to comment.