diff options
| author | XhmikosR <[email protected]> | 2020-06-09 16:55:23 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-09-15 11:57:36 +0300 |
| commit | 800952cef02af97daa43947ac74601384e9ba63e (patch) | |
| tree | 406cbc0e114eb4e2694b74fbe860221dc7d9b484 /scss | |
| parent | 512242943cc8dd149f1a338d6f2940cc0926a7de (diff) | |
| download | bootstrap-800952cef02af97daa43947ac74601384e9ba63e.tar.xz bootstrap-800952cef02af97daa43947ac74601384e9ba63e.zip | |
Remove unnecessary nesting selectors
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_list-group.scss | 2 | ||||
| -rw-r--r-- | scss/mixins/_grid.scss | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 9fb11bf61..b1937909b 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -112,7 +112,7 @@ margin-top: 0; } - & + .list-group-item { + + .list-group-item { border-top-width: $list-group-border-width; border-left-width: 0; diff --git a/scss/mixins/_grid.scss b/scss/mixins/_grid.scss index 3a4fafb1a..9e9bba3cc 100644 --- a/scss/mixins/_grid.scss +++ b/scss/mixins/_grid.scss @@ -47,7 +47,7 @@ // numberof columns. Supports wrapping to new lines, but does not do a Masonry // style grid. @mixin row-cols($count) { - & > * { + > * { flex: 0 0 auto; width: 100% / $count; } |
