From 99fbf4cb77cffa296e238f93baa5a2a33bf79e55 Mon Sep 17 00:00:00 2001
From: nicognaw <66731869+nicognaW@users.noreply.github.com>
Date: Thu, 27 Mar 2025 22:15:14 +0800
Subject: [PATCH] fix: code block command overflow (#7031)
---
apps/www/components/code-block-command.tsx | 30 ++++++++++++----------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/apps/www/components/code-block-command.tsx b/apps/www/components/code-block-command.tsx
index 1e98073a83..854aa22095 100644
--- a/apps/www/components/code-block-command.tsx
+++ b/apps/www/components/code-block-command.tsx
@@ -79,20 +79,22 @@ export function CodeBlockCommand({
})}
- {Object.entries(tabs).map(([key, value]) => {
- return (
-
-
-
- {value}
-
-
+
+ {value}
+
+
+