Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with collapsed metadata fieldset being hidden in JSON dump plugin #5091

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const JSONDumpOptionsForm = ({name, label, schema, formData, onChange}) => {
defaultMessage="Metadata variables"
/>
}
extraClassName="openforms-fieldset"
collapsible
initialCollapsed
>
Expand Down
8 changes: 8 additions & 0 deletions src/openforms/scss/components/admin/_fieldset.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* The django admin `.collapsed` styling on fieldset elements sets `overflow: hidden;`.
* Seeing how we already hide the fieldset content in the javascript code,
* the `overflow: hidden;` only hides the fieldset toggle (which we want to keep visible)
*/
.openforms-fieldset.collapsed {
overflow: visible !important;
}
1 change: 1 addition & 0 deletions src/openforms/scss/components/admin/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
@import './column-field-value';
@import './confirmation-email-template';
@import './variablemapping';
@import './fieldset';

// Form design UI
@import './select';
Expand Down
Loading