htmlburger / carbon-fields

WordPress Custom Fields Library ✨
https://carbonfields.net/
Other
1.4k stars 246 forks source link

Complex fields collapse bug #1214

Open jerome-barbato opened 10 months ago

jerome-barbato commented 10 months ago

Version

Expected Behavior

Item is collapsed

Actual Behavior

Nothing change

Steps to Reproduce the Problem

Create a block, add a complex field, Create a page, add the block, edit it in the sidebar

Comments

When editing a block in the sidebar, the item would not collapse because of a CSS issue.

.cf-complexgroup-body[hidden]{ display: none; } is overridden by .edit-post-sidebar .cf-complexgroup-body { display: block; }

Screenshot from 2024-01-24 14-00-13