diff --git a/module/upgrade/ui/confirm.html.php b/module/upgrade/ui/confirm.html.php
index b25b5eac97..7649ed6473 100644
--- a/module/upgrade/ui/confirm.html.php
+++ b/module/upgrade/ui/confirm.html.php
@@ -26,8 +26,8 @@ div
),
div
(
- setClass('pre rounded-md bg-gray-100 overflow-x-hidden overflow-y-scroll px-8 py-6 h-full'),
- setStyle('height', 'calc(100% - 5rem)'),
+ setClass('pre rounded-md bg-gray-100 overflow-x-hidden overflow-y-scroll px-8 py-6'),
+ setStyle(['max-height' => 'calc(100% - 5rem)']),
$confirm
),
div
diff --git a/module/upgrade/ui/execute.html.php b/module/upgrade/ui/execute.html.php
index 08eaeaa5d2..b326d3069f 100644
--- a/module/upgrade/ui/execute.html.php
+++ b/module/upgrade/ui/execute.html.php
@@ -102,7 +102,7 @@ div
row
(
setClass('bg-gray-100 gap-2 p-2'),
- setStyle(['height' => 'calc(100% - 4rem)']),
+ setStyle(['max-height' => 'calc(100% - 4rem)']),
col
(
setClass('bg-white rounded-md justify-between gap-4 p-4 w-64 h-full'),
diff --git a/module/upgrade/ui/license.html.php b/module/upgrade/ui/license.html.php
index 98d19f0039..9fb0725c53 100644
--- a/module/upgrade/ui/license.html.php
+++ b/module/upgrade/ui/license.html.php
@@ -26,8 +26,8 @@ div
),
div
(
- setClass('pre rounded-md bg-gray-100 overflow-x-hidden overflow-y-scroll px-8 py-6 h-full'),
- setStyle('height', 'calc(100% - 8rem)'),
+ setClass('pre rounded-md bg-gray-100 overflow-x-hidden overflow-y-scroll px-8 py-6'),
+ setStyle(['max-height' => 'calc(100% - 5rem)']),
$license
),
checkbox