From 6b3e7acedcefe409025e03d717c0c92c0762e5b2 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 20 May 2016 10:58:54 -0400 Subject: [PATCH] fix(item): remove border for the last item in an item-group fixes #6518 --- src/components/item/item.md.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/components/item/item.md.scss b/src/components/item/item.md.scss index 0d5ea6fe85e..fbca15d0cbe 100644 --- a/src/components/item/item.md.scss +++ b/src/components/item/item.md.scss @@ -154,6 +154,23 @@ ion-note { } +// Material Design Item Group +// -------------------------------------------------- + +ion-item-group { + .item:first-child { + .item-inner { + border-top-width: 0; + } + } + + .item:last-child .item-inner, + ion-item-sliding:last-child .item-inner { + border: 0; + } +} + + // Material Design Item Divider // --------------------------------------------------