Skip to content

Commit

Permalink
Complete collapse
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Aug 20, 2024
1 parent 7619ae4 commit 02baea8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 6 additions & 0 deletions content_editor/static/content_editor/content_editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 02baea8

Please sign in to comment.