In the accordion-group template, you have ng-style="isOpen ? {display: 'block'} : {}" on the .content div.
This causes some styling issues when you want to apply an inline-block display to content inside the accordion-group.
Could you change it to ng-style="isOpen ? {} : {display: 'none'}? That way, the content div will inherit the display style when it is open, rather than forcing it to display: 'block'. I'm sure you would also have to refactor some other components of the accordion to make this work as well.
In the accordion-group template, you have
ng-style="isOpen ? {display: 'block'} : {}"
on the.content
div.This causes some styling issues when you want to apply an
inline-block
display to content inside the accordion-group.Could you change it to
ng-style="isOpen ? {} : {display: 'none'}
? That way, the content div will inherit the display style when it is open, rather than forcing it todisplay: 'block'
. I'm sure you would also have to refactor some other components of the accordion to make this work as well.