mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-02 01:45:52 +02:00
fix(chat): soften message-list scroll fade (32px → 16px)
The 32px edge fade washed out full-bleed content (HTML / image previews) at the list edges. Halve the fade distance so it barely grazes previews while still hinting at more content above/below. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -130,7 +130,9 @@ export function ChatMessageList({
|
||||
scrollRef.current = node;
|
||||
setScrollContainerEl(node);
|
||||
}, []);
|
||||
const fadeStyle = useScrollFade(scrollRef);
|
||||
// Soft edge fade hinting more content above/below. Kept small so it barely
|
||||
// grazes full-bleed previews (image / HTML) at the edges.
|
||||
const fadeStyle = useScrollFade(scrollRef, 16);
|
||||
|
||||
const pendingTaskId = pendingTask?.task_id ?? null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user