mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00

.browserContainer is relatively positioned, so we can position the tab-modal dialogs absolutely inside it instead of making them part of the browser stack. While at it, make the rdm toolbar part of the regular browserContainer, just like the regular devtools toolbox is. That way there's no need to do ResizeObserver shenanigans to be able to let it grow. Keep it also absolutely positioned tho, because we need to overlay the whole container when the device modal is opened. That's somewhat gross. This should in general be simpler to understand than the current set-up, and more performant to since it avoids the dialog stack from forming part of the browser element's flow. Differential Revision: https://phabricator.services.mozilla.com/D157912