Bug 1390835 - Fix the sidebar width in about:telemetry r=chutten
authorflyingrub <flyinggrub@gmail.com>
Thu, 17 Aug 2017 16:33:27 +0200
changeset 375837 f48a6466aa910e2554eb81b8facabdd919e7d1a9
parent 375836 4b675a7f07430a85b02e03fd9f32fe5661fff11b
child 375838 f85e932a215795e0af458b646435df14f738ceb1
push id49200
push userryanvm@gmail.com
push dateSun, 20 Aug 2017 16:30:33 +0000
treeherderautoland@f48a6466aa91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschutten
bugs1390835
milestone57.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 1390835 - Fix the sidebar width in about:telemetry r=chutten MozReview-Commit-ID: 1LJWQ2Ntb9u
toolkit/content/aboutTelemetry.css
--- a/toolkit/content/aboutTelemetry.css
+++ b/toolkit/content/aboutTelemetry.css
@@ -5,34 +5,36 @@
 @import url("chrome://global/skin/in-content/common.css");
 
 html {
   height: 100%;
 }
 
 body {
   display: flex;
-  align-items: stretch;
   height: 100%;
 }
 
 #categories {
-  min-width: 250px;
   padding-top: 0px;
   overflow-y: auto;
 }
 
 .main-content.search > section > *:not(.data) {
   display: none;
 }
 
+.main-content {
+  flex: 1;
+  font-size: 18px;
+  line-height: 1.6;
+}
+
 #category-raw {
   background-color: var(--in-content-page-background);
-  box-sizing: border-box;
-  min-width: inherit;
   position: absolute;
   bottom: 0;
   left: 0;
 }
 
 .heading {
   display: flex;
   flex-direction: column;
@@ -111,24 +113,16 @@ body {
 .category.selected > .category-subsection {
   display: block;
 }
 
 .category-name {
   pointer-events: none;
 }
 
-.main-content {
-  width: 100%;
-  font-size: 18px;
-  line-height:1.6;
-  z-index: 1;
-  position: relative;
-}
-
 section:not(.active) {
   display: none;
 }
 
 #page-description {
   border: 1px solid threedshadow;
   margin: 0px;
   padding: 10px;