Merge pull request #7688 from sporocyst/CompactFullMTrans

Smooth transition from fullscreen in compact mode
This commit is contained in:
mr. m
2025-04-17 17:05:38 +02:00
committed by GitHub

View File

@@ -383,4 +383,22 @@
}
}
}
}
}
/* Fix for https://github.com/zen-browser/desktop/issues/7615 */
:root[zen-compact-mode='true']:not([customizing])[inDOMFullscreen='true'] {
@media -moz-pref('zen.view.compact.hide-tabbar') or -moz-pref('zen.view.use-single-toolbar') {
&:not([zen-compact-animating]) {
#navigator-toolbox {
opacity: 0;
}
}
}
@media -moz-pref('zen.view.compact.hide-toolbar') {
&:not([zen-single-toolbar='true']) {
& #zen-appcontent-navbar-container {
opacity: 0;
}
}
}
}