Verified Commit 836c6826 authored by ma1's avatar ma1
Browse files

fixup! BB 32308: Use direct browser sizing for letterboxing.

BB 44041: Make dialog overlays cover the correct area without fixed positioning.
parent 7b7e1f8e
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -296,6 +296,11 @@
  position: absolute;
  inset: 0;

  /* Override the <stack> `grid-area: 1 / 1` rule with an `auto` placement.
   * Otherwise the .dialogStack start edges are placed relative to the
   * center-aligned grid items, rather than the grid's padding area. */
  grid-area: auto;

  /* Hide tab-modal dialogs when a window-modal one is up. */
  :root[window-modal-open] .browserStack > &,
  /* For some printing use cases we need to visually hide the dialog before
+0 −5
Original line number Diff line number Diff line
@@ -55,12 +55,7 @@

:root:not([inDOMFullscreen]) .letterboxing.letterboxing-ready .browserContainer:not(.responsive-mode)
  > .browserStack:not(.exclude-letterboxing) {

  place-content: start center;

  & > .dialogStack {
    position: fixed;
  }
}

.browserDecorator {