From: Roy Klutman Date: Fri, 19 Oct 2018 09:01:36 +0000 (+0200) Subject: Fix double border on list-group (#27126) X-Git-Tag: v4.2.0~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a1588ed332da33ae2656b2384ceff7eb4732266;p=thirdparty%2Fbootstrap.git Fix double border on list-group (#27126) --- diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 7605ab9822..796cc461f4 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -90,6 +90,10 @@ border-right: 0; border-left: 0; @include border-radius(0); + + &:last-child { + margin-bottom: -$list-group-border-width; + } } &:first-child { @@ -100,6 +104,7 @@ &:last-child { .list-group-item:last-child { + margin-bottom: 0; border-bottom: 0; } }