Skip to content

Commit 02baea8

Browse files
committed
Complete collapse
1 parent 7619ae4 commit 02baea8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Next version
99
- Disabled dragging plugins when changes are not allowed anyway.
1010
- Stopped collapsing plugin initially when they contain errors.
1111
- Added automatic scrolling while dragging plugins.
12+
- Fixed a bug where a plugin with multiple fieldsets wouldn't collapse
13+
completely.
1214

1315

1416
7.0 (2024-05-31)

content_editor/static/content_editor/content_editor.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,12 @@ h3[draggable] {
157157
border-bottom: 1px solid var(--hairline-color);
158158
}
159159

160+
.order-machine .inline-related.for-deletion > fieldset:nth-child(n + 3),
161+
.order-machine .inline-related.collapsed > fieldset:nth-child(n + 3) {
162+
/* grid-template-rows animates the first fieldset, all other fieldsets jump out of existence */
163+
display: none;
164+
}
165+
160166
.order-machine .inline-related.for-deletion > h3::after {
161167
content: "";
162168
position: absolute;

0 commit comments

Comments
 (0)