From 0b814166575ee45917337fc743895710af6b6f1e Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 26 Apr 2023 05:15:14 +0300 Subject: [PATCH] placeholder_support: Make placeholder border transparent This patch makes the placeholder borders use transparent borders instead of color derived from your theme. Instead the background-clip is extended to border-box (which it already was on non-Windows systems) --- chrome/window_control_placeholder_support.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/window_control_placeholder_support.css b/chrome/window_control_placeholder_support.css index 086e8bf..540adcb 100644 --- a/chrome/window_control_placeholder_support.css +++ b/chrome/window_control_placeholder_support.css @@ -58,9 +58,10 @@ See the above repository for updates as well as full license text. */ :root[uidensity="compact"][sizemode="fullscreen"] #window-controls{ height: 32px } #nav-bar{ - border-inline: var(--uc-window-drag-space-pre,0px) solid var(--toolbar-bgcolor); + border-inline: var(--uc-window-drag-space-pre,0px) solid transparent; border-inline-style: solid !important; border-right-width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-post,0px)); + background-clip: border-box !important; } /* Rules for window controls on left layout */