From: Mark Otto Date: Wed, 18 Oct 2017 05:05:01 +0000 (-0700) Subject: Revert #23108 to restore list group borders (#24411) X-Git-Tag: v4.0.0-beta.2~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85fd22bd47e71b90bb57e574a1f5f760029557e0;p=thirdparty%2Fbootstrap.git Revert #23108 to restore list group borders (#24411) * revert #23108, which had no bug but was a problem with the example code * add example to the docs for future proofing * move it up --- diff --git a/docs/4.0/components/card.md b/docs/4.0/components/card.md index 5da0ef0393..76f4757ec1 100644 --- a/docs/4.0/components/card.md +++ b/docs/4.0/components/card.md @@ -90,6 +90,19 @@ Create lists of content in a card with a flush list group. {% endexample %} +{% example html %} +
+
+ Featured +
+ +
+{% endexample %} + ### Kitchen sink Mix and match multiple content types to create the card you need, or throw everything in there. Shown below are image styles, blocks, text styles, and a list group—all wrapped in a fixed-width card. diff --git a/scss/_list-group.scss b/scss/_list-group.scss index ce3876b6cb..7e0b19e01e 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -86,13 +86,8 @@ .list-group-flush { .list-group-item { border-right: 0; - border-bottom: 0; border-left: 0; border-radius: 0; - - &:first-child { - border-top: 0; - } } &:first-child {