mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(item): iOS removed the border from around sticky headers
closes #591
This commit is contained in:
@@ -35,7 +35,6 @@ ion-item-group {
|
||||
padding: $item-ios-padding-top $item-ios-padding-right $item-ios-padding-bottom $item-ios-padding-left;
|
||||
background-color: $item-ios-divider-bg;
|
||||
color: $item-ios-divider-color;
|
||||
border-bottom: 1px solid $item-ios-border-color;
|
||||
}
|
||||
|
||||
.item:first-child {
|
||||
@@ -43,6 +42,11 @@ ion-item-group {
|
||||
border-top-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.item:last-child .item-inner,
|
||||
ion-item-sliding:last-child .item .item-inner {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
ion-note {
|
||||
@@ -165,8 +169,7 @@ a.item:not([detail-none]) .item-inner,
|
||||
}
|
||||
|
||||
&.hairlines {
|
||||
.item-inner,
|
||||
ion-item-group ion-item-group-title {
|
||||
.item-inner {
|
||||
border-bottom-width: 0.55px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -174,7 +174,6 @@ $list-ios-border-color: $list-border-color !default;
|
||||
.list[no-lines],
|
||||
&.hairlines .list[no-lines] {
|
||||
ion-header,
|
||||
ion-item-group-title,
|
||||
.item,
|
||||
.item .item-inner {
|
||||
border-width: 0;
|
||||
|
||||
Reference in New Issue
Block a user