From 717cca64357e4da033a8714ba03e3aadefe9d239 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Sun, 22 Aug 2021 11:38:09 +0300 Subject: [PATCH] List Item: Adjust divider colors on iOS and Android --- src/components/ui/ListItem.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/ui/ListItem.scss b/src/components/ui/ListItem.scss index e51de1ac..9efb2e98 100644 --- a/src/components/ui/ListItem.scss +++ b/src/components/ui/ListItem.scss @@ -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 { - transform: scaleY(0.5); + height: 0.0625rem; + transform: scaleY(0.25); } }