Bug 1224932 - Center the <body> element in the layout-view; r=bgrins
authorPatrick Brosset <pbrosset@mozilla.com>
Wed, 16 Dec 2015 18:29:11 +0100
changeset 315852 e735b7607ae25e5769d49fb848292d56889330fe
parent 315851 b13cc636c9c8573f8c5d39ac2fbdefbff70f51df
child 315853 bd12a95f7ea99c4cfb61a8ff3890dfc99adbe00d
push id8469
push userbgrinstead@mozilla.com
push dateWed, 16 Dec 2015 19:53:11 +0000
reviewersbgrins
bugs1224932
milestone46.0a1
Bug 1224932 - Center the <body> element in the layout-view; r=bgrins
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;
 }