summaryrefslogtreecommitdiff
path: root/devtools/client/shared/developer-toolbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/shared/developer-toolbar.js')
-rw-r--r--devtools/client/shared/developer-toolbar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/shared/developer-toolbar.js b/devtools/client/shared/developer-toolbar.js
index d844024187..3c2838ddc8 100644
--- a/devtools/client/shared/developer-toolbar.js
+++ b/devtools/client/shared/developer-toolbar.js
@@ -1032,7 +1032,7 @@ OutputPanel.prototype._resize = function () {
break;
}
- this.document.body.style.width = "-moz-max-content";
+ this.document.body.style.width = "max-content";
let style = this._frame.contentWindow.getComputedStyle(this.document.body);
let frameWidth = parseInt(style.width, 10);
let width = Math.min(maxWidth, frameWidth);