mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-20 20:31:26 +02:00
Remove unnecessary nesting selectors
This commit is contained in:
@@ -112,7 +112,7 @@
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
& + .list-group-item {
|
+ .list-group-item {
|
||||||
border-top-width: $list-group-border-width;
|
border-top-width: $list-group-border-width;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
|
|
||||||
|
@@ -47,7 +47,7 @@
|
|||||||
// numberof columns. Supports wrapping to new lines, but does not do a Masonry
|
// numberof columns. Supports wrapping to new lines, but does not do a Masonry
|
||||||
// style grid.
|
// style grid.
|
||||||
@mixin row-cols($count) {
|
@mixin row-cols($count) {
|
||||||
& > * {
|
> * {
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
width: 100% / $count;
|
width: 100% / $count;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user