Verified Commit 44c35e69 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 f649c3d3
Loading
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -120,12 +120,7 @@ browser:fullscreen {

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

  place-content: var(--letterboxing-vertical-alignment) center;
  & > .dialogStack {
    position: fixed;
  }

}

panelmultiview {
+5 −0
Original line number Diff line number Diff line
@@ -205,6 +205,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