Skip to content

Commit

Permalink
cursor: pointer only for links w/ href
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bradley committed Feb 20, 2014
1 parent 2116853 commit e199aa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/ext/angular/test/list.html
Expand Up @@ -115,7 +115,7 @@ <h1 class="title">List Tests</h1>
option-buttons="optionButtons1">

<!-- shows that the item directive does not need attributes and can get values from the list attributes -->
<ion-item ion-item="item" ng-click="itemClick()" class="item-message" ng-repeat="item in items" ng-class="{ active: item.isActive}">
<ion-item ion-item="item" ng-href="#" ng-click="itemClick()" class="item-message" ng-repeat="item in items" ng-class="{ active: item.isActive}">
<img ng-src="{{item.face}}">
<h2>{{item.from}}</h2>
<p>{{item.text}}</p>
Expand Down
2 changes: 1 addition & 1 deletion scss/_scaffolding.scss
Expand Up @@ -14,7 +14,7 @@ a {
-webkit-user-drag: none;
-webkit-tap-highlight-color: transparent;

&:hover {
&[href]:hover {
cursor: pointer;
}
}
Expand Down

0 comments on commit e199aa8

Please sign in to comment.