Skip to content

Commit

Permalink
placeholder_support: Make placeholder border transparent
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
MrOtherGuy committed Apr 26, 2023
1 parent 21750e2 commit 0b81416
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chrome/window_control_placeholder_support.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 0b81416

Please sign in to comment.