Skip to content
Snippets Groups Projects
Commit ded7e41c authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Andreas Fernandez
Browse files

[BUGFIX] Fix accordion visibility in image processing environment test

The display flex on the .modal-body was used to center the
loading animation in the modal screen but led to making
.panel-groups inaccessible. To avoid side effects we are
resetting the custom styles on .modal-body and defining the
height of .modal-loading to 100% of its parent. Since
modal-body also defines already whitespace, we are also
removing the top and bottom the margin on the first and last
element in that container, to provide a more evenly spaced
visual experience.

Releases: main
Resolves: #99590
Related: #98349
Change-Id: If540659cffa886c4b66da7cf6622b5a051eb4bce
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77461


Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
parent 9745e202
Branches
Tags
No related merge requests found
......@@ -57,15 +57,14 @@ $modal-sidebar-md: 300px;
}
.modal-body {
flex: 1 1 auto;
overflow-y: auto;
display: flex;
flex-direction: column;
&:after {
content: "";
display: block;
height: $modal-inner-padding;
> *:first-child {
margin-top: 0;
}
> *:last-child {
margin-bottom: 0;
}
}
......@@ -105,6 +104,7 @@ $modal-sidebar-md: 300px;
border: none;
.modal-loading {
height: 100%;
display: flex;
flex: 1 0 auto;
justify-content: center;
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment