-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 [#5088] Ensure collapsed metadata fieldset is not hidden
When a lot of variables are selected, the metadata fieldset gets pushed down in the modal. If it is collapsed, this causes it to disappear and not be accessible at all. The CSS styling for this collapsed class contains an `overflow: hidden` property that causes this. This change adds a custom scss class openforms-fieldset, which overrides it to `overflow: visible`
- Loading branch information
1 parent
a1a1b00
commit 93e272c
Showing
3 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* 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; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters