mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-22 10:21:51 +00:00
accordion: fix border-top on Firefox (#33736)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
7bbf6d9ad3
commit
7fe4e43634
1 changed files with 4 additions and 2 deletions
|
|
@ -58,7 +58,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.accordion-item {
|
.accordion-item {
|
||||||
margin-bottom: -$accordion-border-width;
|
|
||||||
background-color: $accordion-bg;
|
background-color: $accordion-bg;
|
||||||
border: $accordion-border-width solid $accordion-border-color;
|
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
|
// Only set a border-radius on the last item if the accordion is collapsed
|
||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
margin-bottom: 0;
|
|
||||||
@include border-bottom-radius($accordion-border-radius);
|
@include border-bottom-radius($accordion-border-radius);
|
||||||
|
|
||||||
.accordion-button {
|
.accordion-button {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue