Skip to content

Commit

Permalink
fix(item): Vertically align nav icon w/out flexbox to prevent android…
Browse files Browse the repository at this point in the history
… crashes, #928
  • Loading branch information
adamdbradley committed Apr 2, 2014
1 parent 7f94a62 commit 5b0f5d0
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions scss/_items.scss
Original file line number Diff line number Diff line change
Expand Up @@ -390,13 +390,12 @@ button.item,

&:after {
// By default, both <a> and <button> have right side arrow icons
@include display-flex();
@include align-items(center);
@include font-smoothing(antialiased);
position: absolute;
top: 0;
top: 50%;
right: $item-padding - 4;
height: 100%;
display: block;
margin-top: -8px;
color: #ccc;
content: "\f125"; // ion-chevron-right
text-transform: none;
Expand All @@ -410,16 +409,12 @@ button.item,
}
}

.grade-b,
.grade-c {
a.item:after,
button.item:after,
.item[href] .item-content:after,
.item[ng-click] .item-content:after {
// override Ionicon arrow with boring character for low end devices
@include font-smoothing(none);
content: '>';
font-family: 'monospace';
}
}

Expand Down

0 comments on commit 5b0f5d0

Please sign in to comment.