diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ad2502e6..aad32999 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,8 @@ Next version - Disabled dragging plugins when changes are not allowed anyway. - Stopped collapsing plugin initially when they contain errors. - Added automatic scrolling while dragging plugins. +- Fixed a bug where a plugin with multiple fieldsets wouldn't collapse + completely. 7.0 (2024-05-31) diff --git a/content_editor/static/content_editor/content_editor.css b/content_editor/static/content_editor/content_editor.css index 63e52c4b..62ae29b6 100644 --- a/content_editor/static/content_editor/content_editor.css +++ b/content_editor/static/content_editor/content_editor.css @@ -157,6 +157,12 @@ h3[draggable] { border-bottom: 1px solid var(--hairline-color); } +.order-machine .inline-related.for-deletion > fieldset:nth-child(n + 3), +.order-machine .inline-related.collapsed > fieldset:nth-child(n + 3) { + /* grid-template-rows animates the first fieldset, all other fieldsets jump out of existence */ + display: none; +} + .order-machine .inline-related.for-deletion > h3::after { content: ""; position: absolute;