Don't set titlebar padding to 0 on Windows10 even if the osx smoothing

pref is true
This commit is contained in:
MrOtherGuy 2020-04-12 21:51:36 +03:00
parent b22a0a05a2
commit f66bdeb079

View file

@ -27,7 +27,9 @@ linux_gtk_window_control_patch.css
} }
/* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */ /* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){ @supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
@media not (-moz-os-version: windows-win10){
:root{ --uc-titlebar-padding: 0px !important } :root{ --uc-titlebar-padding: 0px !important }
}
.titlebar-buttonbox-container{ left:0; right: unset; } .titlebar-buttonbox-container{ left:0; right: unset; }
} }