Bug 1318583: Part 3 - Set minWidth and minHeight on non-fixed-width panel browsers. r=aswan

MozReview-Commit-ID: FvqsaubkFUy

--HG--
extra : rebase_source : a68dc6f821751edc797884eb988b156d5006f5a0
extra : histedit_source : c79640339f9d05357383bef3a667bcdcc7429334
This commit is contained in:
Kris Maglione 2016-11-26 17:17:16 -08:00
parent 0680a87ada
commit 37d84033d3

View File

@ -320,7 +320,9 @@ class BasePopup {
this.viewNode.style.maxHeight = `${height}px`;
} else {
this.browser.style.width = `${width}px`;
this.browser.style.minWidth = `${width}px`;
this.browser.style.height = `${height}px`;
this.browser.style.minHeight = `${height}px`;
}
let event = new this.window.CustomEvent("WebExtPopupResized", {detail});