Make use of Sass nesting & remove redundant class

This commit is contained in:
Martijn Cuppens 2020-11-29 13:43:18 +01:00 committed by GitHub
parent 6f9d8d7080
commit 020a8c4336
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,12 +83,12 @@
border-top-width: $list-group-border-width;
}
}
}
// Explicit override to allow numbers to show when using an <ol>
ol.list-group > .list-group-item {
display: list-item;
list-style-position: inside;
// Explicit override to allow numbers to show when using an <ol>
ol > & {
display: list-item;
list-style-position: inside;
}
}