diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css
index 290fee2983..f115a6f72c 100644
--- a/phpBB/adm/style/admin.css
+++ b/phpBB/adm/style/admin.css
@@ -2969,3 +2969,10 @@ fieldset.permissions .permissions-switch {
/* stylelint-enable selector-no-qualifying-type */
/* stylelint-enable declaration-property-unit-blacklist */
/* stylelint-enable declaration-property-unit-whitelist */
+
+.console-output {
+ background-color: #2a2a2a;
+ color: #f1f1f1;
+ font-family: monospace;
+ overflow-x:scroll;
+}
diff --git a/phpBB/adm/style/detailed_message_body.html b/phpBB/adm/style/detailed_message_body.html
index 5fc0b1b2ec..bc904d7eb6 100644
--- a/phpBB/adm/style/detailed_message_body.html
+++ b/phpBB/adm/style/detailed_message_body.html
@@ -5,11 +5,8 @@
{{ MESSAGE_TEXT }}
-
-