mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
accordion: fix border-top
on Firefox (#33736)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
7bbf6d9ad3
commit
7fe4e43634
@ -58,7 +58,6 @@
|
||||
}
|
||||
|
||||
.accordion-item {
|
||||
margin-bottom: -$accordion-border-width;
|
||||
background-color: $accordion-bg;
|
||||
border: $accordion-border-width solid $accordion-border-color;
|
||||
|
||||
@ -70,9 +69,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:first-of-type) {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
// Only set a border-radius on the last item if the accordion is collapsed
|
||||
&:last-of-type {
|
||||
margin-bottom: 0;
|
||||
@include border-bottom-radius($accordion-border-radius);
|
||||
|
||||
.accordion-button {
|
||||
|
Loading…
Reference in New Issue
Block a user