Bug 1595413 - Revert debugger min-width to fix resizing r=jlast
authorDavid Walsh <dwalsh@mozilla.com>
Mon, 18 Nov 2019 13:45:03 +0000
changeset 502442 5ebe15b529320ffc221ba354b30f526cb1a84a75
parent 502441 65d5310bd0be5f1865f3d33fd363ded4d150a361
child 502443 28e92798b7fba8f17c9facb00cc66d845ef73779
child 502502 f9829d8dd6387dfc7c575349f271fecb865acc61
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast
bugs1595413
milestone72.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 1595413 - Revert debugger min-width to fix resizing r=jlast Differential Revision: https://phabricator.services.mozilla.com/D52836
devtools/client/debugger/src/components/App.css
devtools/client/debugger/src/components/SecondaryPanes/index.js
--- a/devtools/client/debugger/src/components/App.css
+++ b/devtools/client/debugger/src/components/App.css
@@ -83,21 +83,16 @@ button:focus {
 /*
   Prevents horizontal scrollbar from displaying when
   right pane collapsed (#7505)
 */
 .split-box > .splitter:last-child {
   display: none;
 }
 
-/* Enforce minimum sidebar widths for SplitBox */
-.split-box > .controlled {
-  min-width: 250px !important;
-}
-
 /* Launchpad Root */
 
 * {
   box-sizing: border-box;
 }
 
 html,
 body {
--- a/devtools/client/debugger/src/components/SecondaryPanes/index.js
+++ b/devtools/client/debugger/src/components/SecondaryPanes/index.js
@@ -485,16 +485,17 @@ class SecondaryPanes extends Component<P
       </div>
     );
   }
 
   renderVerticalLayout() {
     return (
       <SplitBox
         initialSize="300px"
+        minSize={10}
         maxSize="50%"
         splitterSize={1}
         startPanel={
           <div style={{ width: "inherit" }}>
             <WhyPaused delay={this.props.renderWhyPauseDelay} />
             <Accordion items={this.getStartItems()} />
           </div>
         }