List Item: Adjust divider colors on iOS and Android

This commit is contained in:
Alexander Zinchuk 2021-08-22 11:38:09 +03:00
parent 8ca081ee54
commit 717cca6435

View File

@ -21,9 +21,11 @@
} }
} }
body.is-ios &, body.is-android & { // Using half-pixel height is efficient on iOS but not supported on Android, so `transform` is used instead
body.is-android & {
&:not(:last-of-type)::after { &:not(:last-of-type)::after {
transform: scaleY(0.5); height: 0.0625rem;
transform: scaleY(0.25);
} }
} }