Make bottom border transparent instead of width 0
trying out @ffoodd's suggestion
This commit is contained in:
parent
0129fd4aef
commit
d440ad5411
1 changed files with 8 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue