Skip to content

Build your personal knowledge base with Trilium Notes

feat(llm): fade the timeline edge above the composer

Elian Doran74043fa75428
diff --git a/apps/client/src/widgets/type_widgets/llm_chat/ChatMessageList.css b/apps/client/src/widgets/type_widgets/llm_chat/ChatMessageList.css
index 42d0c6b3b5..f047f05db5 100644
--- a/apps/client/src/widgets/type_widgets/llm_chat/ChatMessageList.css
+++ b/apps/client/src/widgets/type_widgets/llm_chat/ChatMessageList.css
@@ -19,6 +19,13 @@
/* Layout/paint changes inside the timeline (e.g. streaming appends) stay inside it;
the element's own size comes from the flex container, so this is safe and free. */
contain: layout paint;
+ /* Soften the clip edge above the composer island: the text fades to genuine
+ transparency rather than being painted over, so this holds up when the pane
+ background is a semi-transparent tint over Mica (desktop background effects),
+ where no overlay gradient color could match. Same idiom as ListOrGridView and
+ MobileNoteNavigator. The overlay scrollbar's last few px fade with it — accepted
+ there too. Kept short so the newest streaming line doesn't sit in the fade. */
+ mask-image: linear-gradient(to bottom, black calc(100% - 20px), transparent 100%);
}
/* Content-end sentinel watched by the jump-to-latest IntersectionObserver. A 1px