0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

Prevent list group style leaks (#30660)

This commit is contained in:
Martijn Cuppens 2020-04-28 09:24:17 +02:00 committed by GitHub
parent 28cb1ff2b2
commit ea34cc4c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@
.list-group-horizontal#{$infix} { .list-group-horizontal#{$infix} {
flex-direction: row; flex-direction: row;
.list-group-item { > .list-group-item {
&:first-child { &:first-child {
@include border-bottom-left-radius($list-group-border-radius); @include border-bottom-left-radius($list-group-border-radius);
@include border-top-right-radius(0); @include border-top-right-radius(0);
@ -135,7 +135,7 @@
.list-group-flush { .list-group-flush {
@include border-radius(0); @include border-radius(0);
.list-group-item { > .list-group-item {
border-width: 0 0 $list-group-border-width; border-width: 0 0 $list-group-border-width;
&:last-child { &:last-child {