mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°6167 - Fix welcome popup opening with collapsed content
This commit is contained in:
@@ -42,6 +42,7 @@ $ibo-welcome-popup--message-title--margin-bottom: $ibo-spacing-700 !default;
|
|||||||
&.ui-dialog-content {
|
&.ui-dialog-content {
|
||||||
padding: $ibo-welcome-popup--dialog--padding-y $ibo-welcome-popup--dialog--padding-x; /* Overload default modal style */
|
padding: $ibo-welcome-popup--dialog--padding-y $ibo-welcome-popup--dialog--padding-x; /* Overload default modal style */
|
||||||
height: auto !important; /* Overload default modal inline style to avoid "content" overflowing while "stack" size remains smaller */
|
height: auto !important; /* Overload default modal inline style to avoid "content" overflowing while "stack" size remains smaller */
|
||||||
|
max-height: 80vh !important; /* Overload default modal inline style to avoid modal remaining "collapsed" */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -6,7 +6,7 @@ oWelcomePopupDialogElem.removeClass('ibo-is-hidden');
|
|||||||
// Prepare dialog
|
// Prepare dialog
|
||||||
oWelcomePopupDialogElem.dialog({
|
oWelcomePopupDialogElem.dialog({
|
||||||
modal: true,
|
modal: true,
|
||||||
width: '70%',
|
width: $(window).innerWidth() * 0.7,
|
||||||
maxHeight: $(window).innerHeight() * 0.8,
|
maxHeight: $(window).innerHeight() * 0.8,
|
||||||
autoOpen: true,
|
autoOpen: true,
|
||||||
title: oWelcomePopupDialogElem.attr('data-title'),
|
title: oWelcomePopupDialogElem.attr('data-title'),
|
||||||
|
|||||||
Reference in New Issue
Block a user