Bug 1561875 - Increase the profiler's popup's width to fix layout issues on Linux r=gregtatum
authorJulien Wajsberg <felash@gmail.com>
Thu, 27 Jun 2019 23:01:47 +0000
changeset 480524 4e287f4fe0298900384fed475a2e6f81734fcf26
parent 480523 4bf825ba2faf038fa76493e6a3116c850813163a
child 480525 912cd2e19760682cfff1b6c8eed9b5c58119751d
push id88741
push userjwajsberg@mozilla.com
push dateFri, 28 Jun 2019 10:03:35 +0000
treeherderautoland@4e287f4fe029 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgregtatum
bugs1561875
milestone69.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 1561875 - Increase the profiler's popup's width to fix layout issues on Linux r=gregtatum Differential Revision: https://phabricator.services.mozilla.com/D36181
browser/themes/shared/toolbarbutton-icons.inc.css
devtools/client/performance-new/popup/popup.css
--- a/browser/themes/shared/toolbarbutton-icons.inc.css
+++ b/browser/themes/shared/toolbarbutton-icons.inc.css
@@ -250,17 +250,17 @@ toolbar[brighttext] {
   list-style-image: url("chrome://browser/skin/developer.svg");
 }
 
 #profiler-button {
   list-style-image: url("chrome://devtools/skin/images/profiler-stopwatch.svg");
 }
 
 #PanelUI-profilerIframe {
-  width: 352px;
+  width: 450px;
 }
 
 #preferences-button {
   list-style-image: url("chrome://browser/skin/settings.svg");
 }
 
 #PanelUI-menu-button {
   list-style-image: url("chrome://browser/skin/menu.svg");
--- a/devtools/client/performance-new/popup/popup.css
+++ b/devtools/client/performance-new/popup/popup.css
@@ -11,25 +11,16 @@ html {
 }
 
 * {
   flex-shrink: 0;
 }
 
 body {
   margin: 0;
-  /**
-   * We had to use `max-width` instead of `width` here because of a bug on Firefox
-   * that causes a horizontal scrollbar when there is a vertical scrollbar on Linux.
-   * This is not a problem on platforms that have a floating scrollbar that doesn't
-   * take additional space, but on platforms that we don't have floating scrollbar,
-   * it takes some space from the body element and causes horizontal scrollbar to appear.
-   * See: https://bugzilla.mozilla.org/show_bug.cgi?id=1400279
-   */
-  max-width: 32em;
 }
 
 .status-display {
   margin: 0;
   padding: 10px 4px;
   position: relative;
 }