mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
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:
parent
0680a87ada
commit
37d84033d3
@ -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});
|
||||
|
Loading…
Reference in New Issue
Block a user