From 13b3a450ef7f45ddf68bf9a343897e1cf8612d80 Mon Sep 17 00:00:00 2001 From: Kevin On <40454531+kevin-on@users.noreply.github.com> Date: Sun, 25 Jan 2026 09:19:58 +0900 Subject: [PATCH] feat: add Copy/Apply buttons at bottom of code blocks Closes #498 - Added footer section with Copy and Apply buttons below code block content - Allows users to execute actions without scrolling back to the top - Reuses existing header button styles for consistency --- .../chat-view/MarkdownCodeComponent.tsx | 45 +++++++++++++++++++ styles.css | 11 +++++ 2 files changed, 56 insertions(+) diff --git a/src/components/chat-view/MarkdownCodeComponent.tsx b/src/components/chat-view/MarkdownCodeComponent.tsx index 60fbc521..90572062 100644 --- a/src/components/chat-view/MarkdownCodeComponent.tsx +++ b/src/components/chat-view/MarkdownCodeComponent.tsx @@ -124,6 +124,51 @@ export default function MarkdownCodeComponent({ {String(children)} )} +