Bug 1390835 - Fix the sidebar width in about:telemetry r=chutten
authorflyingrub <flyinggrub@gmail.com>
Thu, 17 Aug 2017 16:33:27 +0200
changeset 649604 f48a6466aa910e2554eb81b8facabdd919e7d1a9
parent 649603 4b675a7f07430a85b02e03fd9f32fe5661fff11b
child 649605 f85e932a215795e0af458b646435df14f738ceb1
push id75073
push userbmo:mozilla@hocat.ca
push dateSun, 20 Aug 2017 22:21:51 +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;