mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
Simplify selector and only override what we set
1. Instead of having two selectors, we use the `.list-group-item` class and have coverage for list items and anchors. 2. Rather than override all border values, we only override what we set with `border-top`.
This commit is contained in:
parent
bb32e91154
commit
834ee9b433
@ -57,9 +57,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-header + .list-group > li:first-child,
|
.card-header + .list-group > .list-group-item:first-child {
|
||||||
.card-header + .list-group > a:first-child {
|
border-top: 0;
|
||||||
border: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user