diff --git a/scss/_list-group.scss b/scss/_list-group.scss index ecacb05f28..2193168c52 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -12,8 +12,7 @@ @include border-radius($list-group-border-radius); } -// stylelint-disable selector-no-qualifying-type -ol.list-group { +.list-group-numbered { list-style-type: none; counter-reset: section; @@ -23,7 +22,6 @@ ol.list-group { counter-increment: section; } } -// stylelint-enable selector-no-qualifying-type // Interactive list items diff --git a/site/content/docs/5.0/components/list-group.md b/site/content/docs/5.0/components/list-group.md index 4caaeb8de7..6cad46a4de 100644 --- a/site/content/docs/5.0/components/list-group.md +++ b/site/content/docs/5.0/components/list-group.md @@ -94,14 +94,14 @@ Add `.list-group-flush` to remove some borders and rounded corners to render lis {{< /example >}} -## Ordered list +## Numbered -Replace the unordered list element with an ordered list to opt into numbered list group items. Numbers are generated via CSS (as opposed to a `