From 5b72323964c3fa7a10377b363714f681b5ffa709 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sun, 1 Mar 2026 11:24:32 +0900
Subject: fix(frontend): add right padding to code block to prevent copy button
 overlap

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---
 frontend/app/components/Gaming/CodeBlock.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'frontend/app/components/Gaming/CodeBlock.tsx')

diff --git a/frontend/app/components/Gaming/CodeBlock.tsx b/frontend/app/components/Gaming/CodeBlock.tsx
index 2b330dd..49ef01e 100644
--- a/frontend/app/components/Gaming/CodeBlock.tsx
+++ b/frontend/app/components/Gaming/CodeBlock.tsx
@@ -37,7 +37,7 @@ export default function CodeBlock({ code, language }: Props) {
 					)}
 				</button>
 			)}
-			<pre className="h-full w-full p-2 bg-gray-50 rounded-lg border border-gray-300 whitespace-pre-wrap break-words">
+			<pre className="h-full w-full p-2 pr-12 bg-white rounded-lg border border-gray-300 whitespace-pre-wrap break-words">
 				{nodes === null ? <code>{code}</code> : nodes}
 			</pre>
 		</div>
-- 
cgit v1.3.1

