diff --git a/scss/_list-group.scss b/scss/_list-group.scss index ee5a67516..660bce0c9 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -83,12 +83,12 @@ border-top-width: $list-group-border-width; } } -} -// Explicit override to allow numbers to show when using an
    -ol.list-group > .list-group-item { - display: list-item; - list-style-position: inside; + // Explicit override to allow numbers to show when using an
      + ol > & { + display: list-item; + list-style-position: inside; + } }