From 4eb8a2d795d53268c4fb7bb8d6d9f6bced460610 Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Mon, 29 Jun 2026 13:36:49 +0800 Subject: [PATCH] fix(issues): sync sticky comment header background with highlight fade (MUL-3759) The deep-link highlight tint faded out over 700ms on the comment body layers but the sticky header's background switched instantly, and its 4px bottom `after` gradient band recolored by class-switching that `transition-colors` cannot animate. Both desynced from the body during the fade, showing a white header and a pale seam under it. Add `transition-colors duration-700` to the sticky shell so the header background fades with the body, and make the `after` band derive its color from the header via `bg-[inherit]` + a `mask-image` fade instead of a per-state gradient color, so all three layers are driven by the single header background transition. Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/views/issues/components/comment-card.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/views/issues/components/comment-card.tsx b/packages/views/issues/components/comment-card.tsx index 94da8e5a0..ef09577c1 100644 --- a/packages/views/issues/components/comment-card.tsx +++ b/packages/views/issues/components/comment-card.tsx @@ -46,8 +46,6 @@ import { deriveThreadResolution } from "./thread-utils"; const highlightedCommentBackgroundClass = "bg-[color-mix(in_srgb,var(--card)_95%,var(--brand)_5%)]"; -const highlightedCommentFadeClass = - "after:from-[color-mix(in_srgb,var(--card)_95%,var(--brand)_5%)]"; function StickyHeaderShell({ className, @@ -67,9 +65,8 @@ function StickyHeaderShell({ return (