N°2039 - Fix modal flex direction to column

This commit is contained in:
Molkobain
2024-05-15 10:10:11 +02:00
parent bdd2e9ab4d
commit 1366acd001
2 changed files with 3 additions and 3 deletions

View File

@@ -47,6 +47,8 @@ $ibo-modal--is-informative--is-success--highlight--background-color: $ibo-color-
/* Avoid modals bigger than window size /* Avoid modals bigger than window size
!important in order to overload jQueryUI max-height:none being put on dialog elements */ !important in order to overload jQueryUI max-height:none being put on dialog elements */
.ibo-modal{ .ibo-modal{
display: flex;
flex-direction: column;
max-height: $ibo-modal--max-height !important; max-height: $ibo-modal--max-height !important;
max-width: $ibo-modal--max-width !important; max-width: $ibo-modal--max-width !important;
&.ibo-is-extra-small{ &.ibo-is-extra-small{
@@ -79,8 +81,6 @@ $ibo-modal--is-informative--is-success--highlight--background-color: $ibo-color-
} }
.ibo-modal.ibo-is-informative{ .ibo-modal.ibo-is-informative{
display: flex;
flex-direction: column;
align-items: center; align-items: center;
min-width: $ibo-modal--is-informative--min-width; min-width: $ibo-modal--is-informative--min-width;
min-height: $ibo-modal--is-informative--min-height !important; // !important in order to overload jQueryUI CSS rule that's put directly on the element min-height: $ibo-modal--is-informative--min-height !important; // !important in order to overload jQueryUI CSS rule that's put directly on the element

File diff suppressed because one or more lines are too long