diff options
| author | Martijn Cuppens <[email protected]> | 2020-04-02 07:10:11 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-02 08:10:11 +0300 |
| commit | e8e6d64eb083b3086e8ea45ec70e02915a514b68 (patch) | |
| tree | 641652e56a0ac28f314d83c227e446f0394cef05 /scss/_card.scss | |
| parent | 1cc1a476468d8106ef2954f959dc7b747159a353 (diff) | |
| download | bootstrap-e8e6d64eb083b3086e8ea45ec70e02915a514b68.tar.xz bootstrap-e8e6d64eb083b3086e8ea45ec70e02915a514b68.zip | |
Fix card list group borders & radii (#30497)
Diffstat (limited to 'scss/_card.scss')
| -rw-r--r-- | scss/_card.scss | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index 3099109b1..666092779 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -19,15 +19,18 @@ margin-left: 0; } - > .list-group:first-child { - .list-group-item:first-child { - @include border-top-radius($card-border-radius); + > .list-group { + border-top: inherit; + border-bottom: inherit; + + &:first-child { + border-top-width: 0; + @include border-top-radius($card-inner-border-radius); } - } - > .list-group:last-child { - .list-group-item:last-child { - @include border-bottom-radius($card-border-radius); + &:last-child { + border-bottom-width: 0; + @include border-bottom-radius($card-inner-border-radius); } } } |
