Skip to content

Commit

Permalink
style(sass): fix remaining linter errors woo
Browse files Browse the repository at this point in the history
closes #5797
  • Loading branch information
brandyscarney committed Mar 14, 2016
1 parent 253cfc1 commit e4b161d
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 16 deletions.
8 changes: 4 additions & 4 deletions ionic/components/card/card.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ ion-card {
ion-label {
padding: 0;
}
}

> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: 0;
}
> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: 0;
}

.item-inner {
Expand Down
8 changes: 4 additions & 4 deletions ionic/components/card/card.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ ion-card {
.item-inner {
border-bottom: 1px solid $list-md-border-color;
}
}

> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: 0;
}
> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: 0;
}

.item-inner {
Expand Down
8 changes: 4 additions & 4 deletions ionic/components/card/card.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ ion-card {
.item-inner {
border-bottom: 1px solid $list-wp-border-color;
}
}

> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: 0;
}
> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: 0;
}

.item-inner {
Expand Down
5 changes: 5 additions & 0 deletions ionic/components/card/test/list/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@

</ion-list>

<button ion-item>
<ion-icon name="heart" item-left></ion-icon>
Single Item
</button>

</ion-card>

<ion-card>
Expand Down
3 changes: 3 additions & 0 deletions ionic/components/list/list.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ ion-list {
> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: 1px solid $list-ios-border-color;
}

> .item:last-child,
> ion-item-sliding:last-child {
.item-inner {
border-bottom: 0;
}
Expand Down
7 changes: 5 additions & 2 deletions ionic/components/list/list.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@ ion-list {
> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: 1px solid $list-md-border-color;
}

.item-inner,
ion-label {
> .item:last-child,
> ion-item-sliding:last-child {
ion-label,
.item-inner {
border-bottom: 0;
}
}
Expand Down
7 changes: 5 additions & 2 deletions ionic/components/list/list.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@ ion-list {
> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: 1px solid $list-wp-border-color;
}

.item-inner,
ion-label {
> .item:last-child,
> ion-item-sliding:last-child {
ion-label,
.item-inner {
border-bottom: 0;
}
}
Expand Down

0 comments on commit e4b161d

Please sign in to comment.