When a collapsible-handle is clicked, only the ctools-toogle-collapsed class is changed on the handle which makes it impossible to style the heading and content differently with css. At the same time, ctools-collapsed class stays on the container for default collapsed or never shows up for default uncollapsed. I think added a toggle class on .ctools-collapsed as well will solve the problem. I will attached a patch that solves the problem.

Comments

makangus’s picture

Here is a patch to add a toggleClass on the collapsible container

jaydub’s picture

Status: Active » Reviewed & tested by the community

I found a need for this as well. Patch applies fine and does what's supposed to do.

japerry’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.