Bug 1390835 - Fix the sidebar width in about:telemetry r?chutten draft
authorflyingrub <flyinggrub@gmail.com>
Thu, 17 Aug 2017 16:33:27 +0200
changeset 649350 6e18669fcc127dc67ecbb1e1325a20f995ae2ebc
parent 649312 4f4487cc2d30d988742109868dcf21c4113f12f5
child 727072 3ec592d7722530ca7c3c0147ca97a9437cc1aacc
push id75024
push userbmo:flyinggrub@gmail.com
push dateSat, 19 Aug 2017 09:54:36 +0000
reviewerschutten
bugs1390835
milestone57.0a1
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;