From 388879e14e69d3ae888ea545e7729ce78aff41a4 Mon Sep 17 00:00:00 2001 From: Nicolas Varrot Date: Fri, 13 Feb 2026 14:12:41 +0000 Subject: [PATCH] style: add print stylesheet for conversation export - Hide sidebar, header, chat input, and scroll button when printing - Reset backgrounds to white, text to black for readability - Code blocks get light background with borders - Tool calls styled for print (compact, bordered) - External links show their URL in parentheses - Chat scroll area becomes fully visible (no overflow) - Messages avoid page-break-inside for clean pagination - Remove shadows and backdrop filters in print --- src/components/ChatInput.tsx | 2 +- src/index.css | 86 ++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+), 1 deletion(-) diff --git a/src/components/ChatInput.tsx b/src/components/ChatInput.tsx index 1a10d79..bd592c0 100644 --- a/src/components/ChatInput.tsx +++ b/src/components/ChatInput.tsx @@ -222,7 +222,7 @@ export function ChatInput({ onSend, onAbort, isGenerating, disabled, sessionKey return (