mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-12-19 05:19:42 +08:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,6 +50,11 @@ ion-card {
|
||||
ion-item-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
> .item:last-child,
|
||||
> ion-item-sliding:last-child .item {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
.item {
|
||||
|
||||
@@ -49,6 +49,11 @@ ion-card {
|
||||
ion-item-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
> .item:last-child,
|
||||
> ion-item-sliding:last-child .item {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
.item {
|
||||
|
||||
Reference in New Issue
Block a user