diff --git a/res/css/views/dialogs/_DevtoolsDialog.scss b/res/css/views/dialogs/_DevtoolsDialog.scss
index a8e25bb08b..4ae71eed5d 100644
--- a/res/css/views/dialogs/_DevtoolsDialog.scss
+++ b/res/css/views/dialogs/_DevtoolsDialog.scss
@@ -72,7 +72,9 @@ limitations under the License.
.mx_DevTools_textarea {
font-size: 12px;
+ max-width: 624px;
min-height: 250px;
+ padding: 10px;
width: 100%;
}
diff --git a/src/components/views/dialogs/DevtoolsDialog.js b/src/components/views/dialogs/DevtoolsDialog.js
index f2a969ef41..1566302e42 100644
--- a/src/components/views/dialogs/DevtoolsDialog.js
+++ b/src/components/views/dialogs/DevtoolsDialog.js
@@ -138,7 +138,7 @@ class SendCustomEvent extends GenericEditor {
-