Skip to content

Commit

Permalink
feat(item): Auto right-arrow for complex list items w/ ng-click/href, c…
Browse files Browse the repository at this point in the history
…loses #472
  • Loading branch information
Adam Bradley committed Feb 20, 2014
1 parent e199aa8 commit 327a686
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions scss/_items.scss
Expand Up @@ -376,12 +376,16 @@ button.item.item-button-right {
*/

a.item,
button.item {
button.item,
.item a[href].item-content,
.item[ng-click] a.item-content {
padding-right: (($item-padding * 3) - 5);
}

a.item:after,
button.item:after {
button.item:after,
.item a[href].item-content:after,
.item[ng-click] a.item-content:after {
/* By default, both <a> and <button> have right side arrow icons */
@include display-flex();
@include align-items(center);
Expand All @@ -406,7 +410,8 @@ button.item:after {
a.item-icon-right:after,
button.item-icon-right:after,
a.item-button-right:after,
button.item-button-right:after {
button.item-button-right:after,
.item a.item-content:after {
display: none;
}

Expand Down

0 comments on commit 327a686

Please sign in to comment.