Bug 1280709 - Set the max-height to none instead of 0 to properly override the max-height set elsewhere. Setting max-height to 0 means 'you get no height' which is not what was wanted here. r?adw draft
authorJared Wein <jwein@mozilla.com>
Tue, 26 Jul 2016 17:58:47 -0400
changeset 393047 7841e38d2c86e644e92bd2c70c8ec8b00cf62538
parent 389682 d1eef136f2523f1726a16c48eace3df02766ac01
child 526476 3d27c929c1cf1199197e2000a11b22282f451752
push id24195
push userjwein@mozilla.com
push dateTue, 26 Jul 2016 21:59:18 +0000
reviewersadw
bugs1280709
milestone50.0a1
Bug 1280709 - Set the max-height to none instead of 0 to properly override the max-height set elsewhere. Setting max-height to 0 means 'you get no height' which is not what was wanted here. r?adw MozReview-Commit-ID: JlwT1OjjAoG
browser/components/downloads/content/downloads.css
--- a/browser/components/downloads/content/downloads.css
+++ b/browser/components/downloads/content/downloads.css
@@ -159,17 +159,17 @@ richlistitem.download button {
 }
 
 /*** Downloads panel multiview (main view and blocked-downloads subview) ***/
 
 #downloadsPanel,
 #downloadsPanel .panel-viewstack[viewtype=main]:not([transitioning]) #downloadsPanel-mainView {
   /* Tiny hack to ensure the panel shrinks back to its original
      size after closing a subview that is bigger than the main view. */
-  max-height: 0;
+  max-height: none;
 }
 
 /* Hide all the usual buttons. */
 #downloadsPanel-mainView .download-state[state="8"] .downloadCancel,
 #downloadsPanel-mainView .download-state[state="8"] .downloadConfirmBlock,
 #downloadsPanel-mainView .download-state[state="8"] .downloadChooseUnblock,
 #downloadsPanel-mainView .download-state[state="8"] .downloadChooseOpen,
 #downloadsPanel-mainView .download-state[state="8"] .downloadRetry,