Revert "Bug 1963168 - Use percentage rather than viewport units to size tab dialog box. r=desktop-theme-reviewers,tabbrowser-reviewers,nsharpley,dao" for causing bc failures on browser_modal_resize.js

This reverts commit 9a0ff61f70.
This commit is contained in:
iulian moraru
2025-05-12 16:52:45 +03:00
committed by imoraru@mozilla.com
parent b68b9abbb8
commit 1863526d73

View File

@@ -340,16 +340,16 @@
--box-block-margin: 4px;
--box-ideal-width: 1000;
--box-ideal-height: 650;
--box-max-width-margin: calc(100% - 2 * var(--box-inline-margin));
--box-max-height-margin: calc(100% - var(--box-top-px) - var(--box-block-margin));
--box-max-width-margin: calc(100vw - 2 * var(--box-inline-margin));
--box-max-height-margin: calc(100vh - var(--box-top-px) - var(--box-block-margin));
--box-max-width-ratio: 70vw;
--box-max-height-ratio: calc(var(--box-ideal-height) / var(--box-ideal-width) * var(--box-max-width-ratio));
--box-max-height-requested: 100%;
--box-max-width-requested: 100%;
--box-max-height-remaining: calc(100% - var(--box-top-px));
--box-max-height-requested: 100vh;
--box-max-width-requested: 100vw;
--box-max-height-remaining: calc(100vh - var(--box-top-px));
width: 100%;
height: 100%;
width: 100vw;
height: 100vh;
margin: 0;
@media (min-width: 550px) {