Bug 1224932 - 2 - Center the <body> element in the layout-view; r=me a=ritu
authorPatrick Brosset <pbrosset@mozilla.com>
Thu, 17 Dec 2015 11:19:04 +0100
changeset 310474 11273dc5355c4e0f7f54e5a3b30ddc4c136449cc
parent 310473 befd77fc145b17318f9d6465e554cb158b49d3ad
child 310475 c163011e94ff884ec6318a7bab4ff91c960921ba
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, ritu
bugs1224932
milestone45.0a2
Bug 1224932 - 2 - Center the <body> element in the layout-view; r=me 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;
 }
 
-.theme-sidebar body {
+body.theme-sidebar {
   /* 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;
 }