Add border to transitioned properties of accordion-button
open accordion button has a border of 1px, but a closed one suppresses the `border-bottom-width:0`. this caused an odd 1px jump on the accordion panel. now, the border width is transitioned at the same pace as the panel opening/closing transition, so no more perceptible jump
This commit is contained in:
parent
d61f506a5f
commit
0129fd4aef
1 changed files with 1 additions and 1 deletions
|
|
@ -1028,7 +1028,7 @@ $accordion-button-padding-y: $accordion-padding-y !default;
|
|||
$accordion-button-padding-x: $accordion-padding-x !default;
|
||||
$accordion-button-color: $accordion-color !default;
|
||||
$accordion-button-bg: $accordion-bg !default;
|
||||
$accordion-transition: $btn-transition, border-radius .15s ease !default;
|
||||
$accordion-transition: $btn-transition, border-radius .15s ease, border .35s ease !default; // border transition matches speed of transition-collapse
|
||||
$accordion-button-active-bg: tint-color($component-active-bg, 90%) !default;
|
||||
$accordion-button-active-color: shade-color($primary, 10%) !default;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue