Make bottom border transparent instead of width 0

trying out @ffoodd's suggestion
This commit is contained in:
Patrick H. Lauke 2020-11-25 11:30:57 +00:00
parent 0129fd4aef
commit d440ad5411

View file

@ -16,10 +16,6 @@
overflow-anchor: none;
@include transition($accordion-transition);
&.collapsed {
border-bottom-width: 0;
}
&:not(.collapsed) {
color: $accordion-button-active-color;
background-color: $accordion-button-active-bg;
@ -80,6 +76,14 @@
@include border-bottom-radius($accordion-border-radius);
}
}
&:not(:last-of-type) {
.accordion-button {
&.collapsed {
border-bottom-color: transparent;
}
}
}
}
.accordion-collapse {