Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markd.otto@gmail.com>2017-08-20 22:14:18 +0300
committerMark Otto <markd.otto@gmail.com>2017-08-20 22:21:24 +0300
commit834ee9b433aa123b74016c91dd403cdfd53e3fc5 (patch)
tree193170bb815b4ee5cb3c5ee833373ae108aa5f27 /scss/_card.scss
parentbb32e9115490b142d7a6684cd508a48a1589f1c6 (diff)
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`.
Diffstat (limited to 'scss/_card.scss')
-rw-r--r--scss/_card.scss5
1 files changed, 2 insertions, 3 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index 7f1811def6..40fa425107 100644
--- a/scss/_card.scss
+++ b/scss/_card.scss
@@ -57,9 +57,8 @@
}
}
- .card-header + .list-group > li:first-child,
- .card-header + .list-group > a:first-child {
- border: 0;
+ .card-header + .list-group > .list-group-item:first-child {
+ border-top: 0;
}
}