From 42cd93cf33708500cb632e3fde13fc515e94e5bc Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Tue, 31 Jan 2023 18:38:58 +0800 Subject: [PATCH] fix: show copy button on hover (#1002) --- web/src/labs/marked/parser/CodeBlock.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/labs/marked/parser/CodeBlock.tsx b/web/src/labs/marked/parser/CodeBlock.tsx index e9671be60..2f21ea112 100644 --- a/web/src/labs/marked/parser/CodeBlock.tsx +++ b/web/src/labs/marked/parser/CodeBlock.tsx @@ -29,9 +29,9 @@ const renderer = (rawStr: string) => { }; return ( -
+