mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-09 01:53:53 +02: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 {
|
.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…
x
Reference in New Issue
Block a user