mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(list): removed the negative margin-top and margin-bottom for hairline items
fixes #544
This commit is contained in:
@ -207,13 +207,6 @@ ion-card {
|
|||||||
|
|
||||||
ion-item-options {
|
ion-item-options {
|
||||||
border-width: 0.55px;
|
border-width: 0.55px;
|
||||||
//
|
|
||||||
// button, [button] {
|
|
||||||
// min-height: calc(100% - 1px);
|
|
||||||
// height: calc(100% - 1px);
|
|
||||||
// margin-top: 0.55px;
|
|
||||||
// margin-bottom: 0.55px;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-header,
|
ion-header,
|
||||||
@ -222,8 +215,6 @@ ion-card {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
margin-top: -0.55px;
|
|
||||||
|
|
||||||
.item-inner {
|
.item-inner {
|
||||||
border-width: 0.55px;
|
border-width: 0.55px;
|
||||||
}
|
}
|
||||||
@ -236,7 +227,6 @@ ion-card {
|
|||||||
> .item:last-child,
|
> .item:last-child,
|
||||||
> ion-item-sliding:last-child .item {
|
> ion-item-sliding:last-child .item {
|
||||||
border-bottom-width: 0.55px;
|
border-bottom-width: 0.55px;
|
||||||
margin-bottom: -0.55px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user