Fix: URLBar - Prevent overlay at full screen #1028

This commit is contained in:
alstjr7375 2024-11-30 06:07:56 +09:00
parent 40d8bed8cf
commit d66bd0f400
3 changed files with 14 additions and 0 deletions

6
css/leptonChrome.css generated
View file

@ -9869,6 +9869,9 @@
:-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) { :-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) {
width: 100%; /* Makes the UI take up the entire width */ width: 100%; /* Makes the UI take up the entire width */
} }
:root[sizemode="fullscreen"]:not([inDOMFullscreen="true"]) #urlbar:popover-open {
position: fixed !important;
}
@media (-moz-gtk-csd-available) { @media (-moz-gtk-csd-available) {
/* Fix transparent background */ /* Fix transparent background */
:root[tabsintitlebar][sizemode="fullscreen"]:not([inDOMFullscreen="true"]):is( :root[tabsintitlebar][sizemode="fullscreen"]:not([inDOMFullscreen="true"]):is(
@ -24621,6 +24624,9 @@
:-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) { :-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) {
width: 100%; /* Makes the UI take up the entire width */ width: 100%; /* Makes the UI take up the entire width */
} }
:root[sizemode="fullscreen"]:not([inDOMFullscreen="true"]) #urlbar:popover-open {
position: fixed !important;
}
} }
@media (-moz-bool-pref: "userChrome.fullscreen.overlap") and (-moz-bool-pref: "browser.fullscreen.autohide") and (-moz-gtk-csd-available) { @media (-moz-bool-pref: "userChrome.fullscreen.overlap") and (-moz-bool-pref: "browser.fullscreen.autohide") and (-moz-gtk-csd-available) {
/* Fix transparent background */ /* Fix transparent background */

View file

@ -10299,6 +10299,9 @@
:-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) { :-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) {
width: 100%; /* Makes the UI take up the entire width */ width: 100%; /* Makes the UI take up the entire width */
} }
:root[sizemode="fullscreen"]:not([inDOMFullscreen="true"]) #urlbar:popover-open {
position: fixed !important;
}
@media (-moz-gtk-csd-available) { @media (-moz-gtk-csd-available) {
/* Fix transparent background */ /* Fix transparent background */
:root[tabsintitlebar][sizemode="fullscreen"]:not([inDOMFullscreen="true"]):is( :root[tabsintitlebar][sizemode="fullscreen"]:not([inDOMFullscreen="true"]):is(

View file

@ -11,6 +11,11 @@
width: 100%; /* Makes the UI take up the entire width */ width: 100%; /* Makes the UI take up the entire width */
} }
:root[sizemode="fullscreen"]:not([inDOMFullscreen="true"]) #urlbar:popover-open {
// Prevent URLbar overlay #1028
position: fixed !important;
}
@include OS($linux) { @include OS($linux) {
/* Fix transparent background */ /* Fix transparent background */
:root[tabsintitlebar][sizemode="fullscreen"]:not([inDOMFullscreen="true"])#{$not_lwtheme} #TabsToolbar { :root[tabsintitlebar][sizemode="fullscreen"]:not([inDOMFullscreen="true"])#{$not_lwtheme} #TabsToolbar {