From 09d0d6f8e28e323db4ba24ac15f649c28b3091a0 Mon Sep 17 00:00:00 2001 From: DiegoJohnsonL Date: Thu, 12 Nov 2026 17:46:47 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20fix(web):=20composer=20context?= =?UTF-8?q?=20strip=20no=20longer=20draws=20a=20square=20slab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream gave the context strip page-coloured surface-glass, but the fork's surface-glass is the raised card colour, so the strip painted a square slab under the rounded composer. It now takes the page colour, and over a wallpaper it stays bare so the picture runs under it. Co-Authored-By: Claude Opus 5.5 --- apps/web/src/custom.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/apps/web/src/custom.css b/apps/web/src/custom.css index 95b2308296f04..f6ed85f7246c1 100644 --- a/apps/web/src/custom.css +++ b/apps/web/src/custom.css @@ -40,6 +40,21 @@ html[data-theme-id]:not([data-theme-id=""]) { --chat-composer-glass-surface: var(--glass-surface); } +/* Upstream fills the context strip with page-coloured glass so it blends into + the page; the raised glass above would draw a square slab under the card. */ +[data-slot="composer-context-strip"] { + --glass-fill: var(--background); +} + +/* Over a picture any fill reads as a square slab, so the strip stays bare and + the wallpaper runs under it. Unlayered so it beats the surface-glass utility. */ +[data-chat-background-pane]:has(> [data-chat-backdrop="source"]) + [data-slot="composer-context-strip"] { + background: none; + -webkit-backdrop-filter: none; + backdrop-filter: none; +} + ::-webkit-scrollbar-thumb { background: transparent; }