Bug 1918617 - [devtools] Don't apply top margin on prompt dialogs when RDM is enabled. r=niklas,devtools-reviewers,ochameau.

Differential Revision: https://phabricator.services.mozilla.com/D224448
This commit is contained in:
Nicolas Chevobbe 2024-10-03 14:53:11 +00:00
parent f75b63e774
commit dc439c5fa8

View File

@ -32,7 +32,7 @@
* The .rdm-toolbar will be above the .dialogBox in RDM so we shift the
* .dialogBox down by the height of the .rdm-toolbar so both are visible
*/
+ .browserStack > .dialogStack > .dialogTemplate > .dialogBox {
+ .browserStack > .dialogStack:not(.content-prompt-dialog) > .dialogTemplate > .dialogBox {
margin-top: var(--rdm-toolbar-height);
}
}