Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(issues): sync sticky comment header background with highlight fade (MUL-3759) (#4690)
Naiyuan Qing6e2d2c003c51
diff --git a/packages/views/issues/components/comment-card.tsx b/packages/views/issues/components/comment-card.tsxindex 94da8e5a0a..ef09577c16 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 (<divclassName={cn(- "sticky top-0 z-10 after:pointer-events-none after:absolute after:inset-x-0 after:top-full after:h-1 after:bg-gradient-to-b after:to-transparent",+ "sticky top-0 z-10 transition-colors duration-700 after:pointer-events-none after:absolute after:inset-x-0 after:top-full after:h-1 after:bg-[inherit] after:[mask-image:linear-gradient(to_bottom,#000,transparent)] after:[-webkit-mask-image:linear-gradient(to_bottom,#000,transparent)]",highlighted ? highlightedCommentBackgroundClass : "bg-card",- highlighted ? highlightedCommentFadeClass : "after:from-card",)}><div className={className}>