Bug 1427051 - Revert portait mode width of the inspector back to 700px. r=me
authorGabriel Luong <gabriel.luong@gmail.com>
Wed, 27 Dec 2017 13:28:31 -0500
changeset 397456 35e92c76055653ed1f0e72c37a6411d2167412b6
parent 397455 5bd466716765145e73a0e4b3a63828d77164e147
child 397464 6ad8b5129333eba823787614af6015a2fefc18a6
push id98525
push usergabriel.luong@gmail.com
push dateWed, 27 Dec 2017 18:28:50 +0000
treeherdermozilla-inbound@35e92c760556 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1427051
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1427051 - Revert portait mode width of the inspector back to 700px. r=me
devtools/client/inspector/inspector.js
--- a/devtools/client/inspector/inspector.js
+++ b/devtools/client/inspector/inspector.js
@@ -43,17 +43,17 @@ loader.lazyGetter(this, "TOOLBOX_L10N", 
   return new LocalizationHelper("devtools/client/locales/toolbox.properties");
 });
 
 // Sidebar dimensions
 const INITIAL_SIDEBAR_SIZE = 350;
 
 // If the toolbox width is smaller than given amount of pixels,
 // the sidebar automatically switches from 'landscape' to 'portrait' mode.
-const PORTRAIT_MODE_WIDTH = 800;
+const PORTRAIT_MODE_WIDTH = 700;
 
 const SHOW_SPLIT_SIDEBAR_TOGGLE_PREF = "devtools.inspector.split-sidebar-toggle";
 const SPLIT_RULE_VIEW_PREF = "devtools.inspector.split-rule-enabled";
 
 /**
  * Represents an open instance of the Inspector for a tab.
  * The inspector controls the breadcrumbs, the markup view, and the sidebar
  * (computed view, rule view, font view and animation inspector).