fixes #15830: properly reset border-radius on list items in collapsing panel groups
This commit is contained in:
parent
93bf800e1f
commit
a2c69b8145
|
@ -5504,6 +5504,10 @@ a.list-group-item-danger.active:focus {
|
||||||
border-bottom-right-radius: 3px;
|
border-bottom-right-radius: 3px;
|
||||||
border-bottom-left-radius: 3px;
|
border-bottom-left-radius: 3px;
|
||||||
}
|
}
|
||||||
|
.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-top-right-radius: 0;
|
||||||
|
}
|
||||||
.panel-heading + .list-group .list-group-item:first-child {
|
.panel-heading + .list-group .list-group-item:first-child {
|
||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -76,6 +76,7 @@
|
||||||
.border-top-radius((@panel-border-radius - 1));
|
.border-top-radius((@panel-border-radius - 1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add border bottom radius for last one
|
// Add border bottom radius for last one
|
||||||
&:last-child {
|
&:last-child {
|
||||||
.list-group-item:last-child {
|
.list-group-item:last-child {
|
||||||
|
@ -84,6 +85,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
> .panel-heading + .panel-collapse > .list-group {
|
||||||
|
.list-group-item:first-child {
|
||||||
|
.border-top-radius(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Collapse space between when there's no additional content.
|
// Collapse space between when there's no additional content.
|
||||||
.panel-heading + .list-group {
|
.panel-heading + .list-group {
|
||||||
|
|
Loading…
Reference in New Issue