Skip to content

Commit

Permalink
Fixed fullscreen videos having a top-bar on certain layouts (closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-cheff committed Dec 22, 2024
1 parent a5830ca commit c5ff01d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions configs/linux/mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ elif test "$SURFER_COMPAT" = "aarch64"; then

ac_add_options --enable-optimize="-O3"

# Enable Profile Guided Optimization
export MOZ_PGO=1
ac_add_options MOZ_PGO=1

if ! test "$ZEN_DISABLE_LTO"; then
export MOZ_LTO=cross,thin
ac_add_options --enable-lto=cross,thin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,3 @@ height: var(--zen-toolbar-height);
}
}
}

:root[inDOMFullscreen='true'] & {
max-height: 0 !important;
min-height: unset !important;
opacity: 0 !important;
pointer-events: none !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,13 @@
&[should-hide='true'] {
%include vertical-tabs-topbar.inc.css
}

:root[inDOMFullscreen='true'] & {
max-height: 0 !important;
min-height: unset !important;
opacity: 0 !important;
pointer-events: none !important;
}
}
}

Expand Down

0 comments on commit c5ff01d

Please sign in to comment.