diff options
| author | Mark Otto <[email protected]> | 2016-02-08 23:41:16 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-02-08 23:41:16 -0800 |
| commit | cb77f68868aca96041b49152daa6faf5dac81c99 (patch) | |
| tree | e016ee138771bfdae30a6f6aa3984085d274dcec | |
| parent | 3b00f9ffc9cde2eaa2a68ce6f26862b356995bd1 (diff) | |
| parent | faa7cea3015597e7267bbdc26f0e9f8177991b9d (diff) | |
| download | bootstrap-cb77f68868aca96041b49152daa6faf5dac81c99.tar.xz bootstrap-cb77f68868aca96041b49152daa6faf5dac81c99.zip | |
Merge pull request #19140 from twbs/v4-card-list-group-corners
v4: Avoid shorthand border-radius for list groups in cards
| -rw-r--r-- | scss/_card.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index ee6b473e9..27c5025f0 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -53,13 +53,15 @@ .card { > .list-group:first-child { .list-group-item:first-child { - border-radius: $card-border-radius $card-border-radius 0 0; + border-top-left-radius: $card-border-radius; + border-top-right-radius: $card-border-radius; } } > .list-group:last-child { .list-group-item:last-child { - border-radius: 0 0 $card-border-radius $card-border-radius; + border-bottom-left-radius: $card-border-radius; + border-bottom-right-radius: $card-border-radius; } } } |
