diff --git a/css/setup.css b/css/setup.css
index 1e3eb0737..ad8eac6b4 100644
--- a/css/setup.css
+++ b/css/setup.css
@@ -17747,3 +17747,11 @@ body {
#installation_progress {
display: none;
}
+#fresh_content {
+ border: 0;
+ min-height: 300px;
+ min-width: 600px;
+ display: none;
+ margin-left: auto;
+ margin-right: auto;
+}
diff --git a/css/setup.scss b/css/setup.scss
index 256605168..399e2f862 100644
--- a/css/setup.scss
+++ b/css/setup.scss
@@ -634,3 +634,11 @@ body {
#installation_progress {
display: none;
}
+ #fresh_content{
+ border: 0;
+ min-height: 300px;
+ min-width: 600px;
+ display:none;
+ margin-left: auto;
+ margin-right: auto;
+ }
diff --git a/setup/wizardsteps.class.inc.php b/setup/wizardsteps.class.inc.php
index ef21fb802..ba73b4bcd 100644
--- a/setup/wizardsteps.class.inc.php
+++ b/setup/wizardsteps.class.inc.php
@@ -2575,12 +2575,12 @@ class WizStepDone extends WizardStep
if ($sIframeUrl != '')
{
- $oPage->add('');
+ $oPage->add('');
- $oPage->add_script("window.addEventListener('message', function(event) {
+ $oPage->add_script("
+ window.addEventListener('message', function(event) {
if (event.data === 'itophub_load_completed')
{
- $('#fresh_content').height($('#placeholder').height());
$('#placeholder').hide();
$('#fresh_content').show();
}