]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove borders on the top and/or bottom when .list-group-flush is the first and/or... 20903/head
authorStarsam80 <samraskauskas@gmail.com>
Sat, 15 Oct 2016 19:57:36 +0000 (13:57 -0600)
committerStarsam80 <samraskauskas@gmail.com>
Sat, 15 Oct 2016 20:12:19 +0000 (14:12 -0600)
Fully fixes #20395

scss/_list-group.scss

index 1e0d1121d4fbbede3b70a2516e04579149dd2889..f17fb9bb1197ca2bfd838335db00a1b403d3dbb4 100644 (file)
     border-left: 0;
     border-radius: 0;
   }
+
+  &:first-child {
+    .list-group-item:first-child {
+      border-top: 0;
+    }
+  }
+
+  &:last-child {
+    .list-group-item:last-child {
+      border-bottom: 0;
+    }
+  }
 }