From ea267ea3c69b7435afe41834c330d7ff99fbda7f Mon Sep 17 00:00:00 2001 From: Roy Klutman Date: Fri, 24 Aug 2018 17:06:14 +0200 Subject: [PATCH 1/2] Fix double border on list-group --- scss/_list-group.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 9f145c1d30fc..b8144edb5857 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -54,7 +54,6 @@ } &:last-child { - margin-bottom: 0; @include border-bottom-radius($list-group-border-radius); } From 1eae1b41fc2185d338903deba257c1309cae498b Mon Sep 17 00:00:00 2001 From: Roy Klutman Date: Fri, 24 Aug 2018 21:31:15 +0200 Subject: [PATCH 2/2] Reverted previous change and moved to *-flush --- scss/_list-group.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scss/_list-group.scss b/scss/_list-group.scss index b8144edb5857..073fb0a6785d 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -54,6 +54,7 @@ } &:last-child { + margin-bottom: 0; @include border-bottom-radius($list-group-border-radius); } @@ -88,6 +89,10 @@ border-right: 0; border-left: 0; @include border-radius(0); + + &:last-child { + margin-bottom: -$list-group-border-width; + } } &:first-child { @@ -98,6 +103,7 @@ &:last-child { .list-group-item:last-child { + margin-bottom: 0; border-bottom: 0; } }