Bug 1224932 - Center the <body> element in the layout-view; r=bgrins a=ritu
authorPatrick Brosset <pbrosset@mozilla.com>
Wed, 16 Dec 2015 18:29:11 +0100
changeset 305867 dda18c6947b21ae620e6d6a0cfbd91917f4a3ba0
parent 305866 1af2fbfc24a4370a252187c69f4d192dbcbd88e3
child 305868 a011fb29cdc0f710b411621ba9996e6e66539946
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins, ritu
bugs1224932
milestone44.0
Bug 1224932 - Center the <body> element in the layout-view; r=bgrins a=ritu
devtools/client/themes/layoutview.css
--- a/devtools/client/themes/layoutview.css
+++ b/devtools/client/themes/layoutview.css
@@ -1,17 +1,17 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/ */
 
 .theme-sidebar {
   box-sizing: border-box;
 }
 
-body {
+.theme-sidebar body {
   /* The view will grow bigger as the window gets resized, until 400px */
   max-width: 400px;
   margin: 0px auto;
   padding: 0;
   /* "Contain" the absolutely positioned #main element */
   position: relative;
 }