Fix: FullScreen - MacOS Tabbar crop #1045

This commit is contained in:
alstjr7375 2025-01-12 01:50:29 +09:00
parent 350b0524d0
commit 36c05567b2
3 changed files with 19 additions and 0 deletions

10
css/leptonChrome.css generated
View file

@ -313,6 +313,10 @@
} }
} }
/*= Windows - Classic Theme #734 =============================================*/ /*= Windows - Classic Theme #734 =============================================*/
/*= MacOS Fullscreen clipping #1045 ==========================================*/
:root[sizemode="fullscreen"][macOSNativeFullscreen]:not([inDOMFullscreen="true"]) #navigator-toolbox {
border-top: 16px solid transparent;
}
} }
/*= Others - Compatibility ===================================================*/ /*= Others - Compatibility ===================================================*/
@supports -moz-bool-pref("userChrome.compatibility.panel_cutoff") { @supports -moz-bool-pref("userChrome.compatibility.panel_cutoff") {
@ -14300,6 +14304,7 @@
/*= Linux - Light System Default Theme's Selected Tab ========================*/ /*= Linux - Light System Default Theme's Selected Tab ========================*/
/*= Titlebar Container Size at maximized #384 ================================*/ /*= Titlebar Container Size at maximized #384 ================================*/
/*= Windows - Classic Theme #734 =============================================*/ /*= Windows - Classic Theme #734 =============================================*/
/*= MacOS Fullscreen clipping #1045 ==========================================*/
} }
@media (-moz-bool-pref: "userChrome.compatibility.os") and (-moz-platform: windows) { @media (-moz-bool-pref: "userChrome.compatibility.os") and (-moz-platform: windows) {
:root[sizemode="normal"]:is([tabsintitlebar], [customtitlebar]) #navigator-toolbox { :root[sizemode="normal"]:is([tabsintitlebar], [customtitlebar]) #navigator-toolbox {
@ -14384,6 +14389,11 @@
padding-top: 8px; padding-top: 8px;
} }
} }
@media (-moz-bool-pref: "userChrome.compatibility.os") {
:root[sizemode="fullscreen"][macOSNativeFullscreen]:not([inDOMFullscreen="true"]) #navigator-toolbox {
border-top: 16px solid transparent;
}
}
/*= Others - Compatibility ===================================================*/ /*= Others - Compatibility ===================================================*/
@media (-moz-bool-pref: "userChrome.compatibility.panel_cutoff") { @media (-moz-bool-pref: "userChrome.compatibility.panel_cutoff") {
#appMenu-popup panelview { #appMenu-popup panelview {

View file

@ -494,6 +494,10 @@
) !important; ) !important;
} }
} }
/*= MacOS Fullscreen clipping #1045 ==========================================*/
:root[sizemode="fullscreen"][macOSNativeFullscreen]:not([inDOMFullscreen="true"]) #navigator-toolbox {
border-top: 16px solid transparent;
}
} }
/*= Others - Compatibility ===================================================*/ /*= Others - Compatibility ===================================================*/
@supports -moz-bool-pref("userChrome.compatibility.panel_cutoff") { @supports -moz-bool-pref("userChrome.compatibility.panel_cutoff") {

View file

@ -287,3 +287,8 @@ $_os_linuxDefaultShadow: 0 0 4px rgba(128, 128, 142, 0.5);
} }
} }
} }
/*= MacOS Fullscreen clipping #1045 ==========================================*/
:root[sizemode="fullscreen"][macOSNativeFullscreen]:not([inDOMFullscreen="true"]) #navigator-toolbox {
border-top: 16px solid transparent;
}