aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Klutman <[email protected]>2018-10-19 11:01:36 +0200
committerXhmikosR <[email protected]>2018-10-19 12:01:36 +0300
commit5a1588ed332da33ae2656b2384ceff7eb4732266 (patch)
treea90ed2057da455daf1018730db7f3c426c85c7de
parentef32979222c18f7ffe7023a17515e8cf3aefc340 (diff)
downloadbootstrap-5a1588ed332da33ae2656b2384ceff7eb4732266.tar.xz
bootstrap-5a1588ed332da33ae2656b2384ceff7eb4732266.zip
Fix double border on list-group (#27126)
-rw-r--r--scss/_list-group.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss
index 7605ab982..796cc461f 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;
}
}