mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-29 11:51:51 +00:00
fix: Fix video fullscreen rendering when split view is active, b=closes https://github.com/zen-browser/desktop/issues/11559, p=#12733
* Fix video fullscreen rendering when split view is active Deactivate other split browsers and hide their containers during fullscreen so Firefox can promote the active browser correctly. * Address review: simplify fullscreen handling using inDOMFullscreen * Discard changes to src/zen/split-view/ZenViewSplitter.mjs * Formatting Changes * Remove unnecessary empty line in zen-decks.css Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com> --------- Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com> Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
This commit is contained in:
@@ -38,6 +38,16 @@
|
||||
/* Fix for issue https://github.com/zen-browser/desktop/issues/7564 */
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
:root[inDOMFullscreen="true"] & {
|
||||
&:not(.deck-selected) {
|
||||
-moz-subtree-hidden-only-visually: 1 !important;
|
||||
}
|
||||
|
||||
&.deck-selected {
|
||||
inset: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.browserSidebarContainer[is-zen-split="true"],
|
||||
@@ -67,7 +77,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
#tabbrowser-tabpanels[zen-split-view="true"] .browserSidebarContainer.deck-selected {
|
||||
:root:not([inDOMFullscreen="true"]) #tabbrowser-tabpanels[zen-split-view="true"] .browserSidebarContainer.deck-selected {
|
||||
&:not(.zen-glance-overlay) {
|
||||
outline: 2px solid var(--zen-active-split-outline-color) !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user