fix(card): fixed border radius for lists in cards and removed border bottom of last item in list

references #387
This commit is contained in:
Brandy Carney
2015-11-16 19:21:15 -05:00
parent 85523e26d3
commit 59e4faa5b9
3 changed files with 22 additions and 0 deletions

View File

@@ -22,3 +22,15 @@ ion-card-header {
ion-card-content {
display: block;
}
ion-card {
> .list:first-child {
border-top-left-radius: inherit;
border-top-right-radius: inherit;
}
> .list:last-child {
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
}
}

View File

@@ -50,6 +50,11 @@ ion-card {
ion-item-content {
padding: 0;
}
> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: none;
}
}
.item {

View File

@@ -49,6 +49,11 @@ ion-card {
ion-item-content {
padding: 0;
}
> .item:last-child,
> ion-item-sliding:last-child .item {
border-bottom: none;
}
}
.item {