kswedberg / jquery-expander

Expand and Collapse HTML content
https://kswedberg.github.io/jquery-expander/
Other
459 stars 168 forks source link

inline instead of inline-block #121

Closed alexcracea closed 4 years ago

alexcracea commented 7 years ago

Hi, is there any possibility to switch the inline style for display from inline-block to inline? Because in my case the 2 texts are not aligning because of that.

kswedberg commented 7 years ago

Hi @Onotoley. The plugin isn't setting the display property. It's jQuery's animation mechanism that does that. Maybe you could try setting it to inline in the afterExpand callback?