From 586262decd703c5877a6e7c081bf712353db0129 Mon Sep 17 00:00:00 2001 From: Michael Han <107991372+shimmyshimmer@users.noreply.github.com> Date: Mon, 22 Jun 2026 04:59:13 -0700 Subject: [PATCH] Fix grey scroll-fade bands on macOS Safari 27 Beta (#6507) The chat and sidebar scroll-fade overlays ended their gradient at the `transparent` keyword, which is transparent black. Safari 27 Beta (Liquid Glass) interpolates an opaque colour to transparent black through a grey midtone, so the fades render as two solid grey bands (top of the chat and above the composer). Fade each gradient to the theme colour at zero alpha instead, so every step keeps the same hue and no grey can appear. Fixes #6457. Co-authored-by: wasimysaid --- studio/frontend/src/components/app-sidebar.tsx | 2 +- studio/frontend/src/components/assistant-ui/thread.tsx | 2 +- studio/frontend/src/features/chat/chat-page.tsx | 2 +- studio/frontend/src/index.css | 8 +++++++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsx index c6fa3e92ec..734860138a 100644 --- a/studio/frontend/src/components/app-sidebar.tsx +++ b/studio/frontend/src/components/app-sidebar.tsx @@ -1355,7 +1355,7 @@ export function AppSidebar() {