We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 479f825 commit d3a71ebCopy full SHA for d3a71eb
components/code-block.tsx
@@ -27,15 +27,8 @@ export function CodeBlock({
27
28
return (
29
<div className="relative group max-w-full">
30
- {/* Header bar with language and copy button */}
31
- <div className="flex items-center justify-between px-3 py-2 bg-muted/30 rounded-t-lg">
32
- {language ? (
33
- <span className="text-xs font-mono text-muted-foreground">
34
- {language}
35
- </span>
36
- ) : (
37
- <span></span>
38
- )}
+ {/* Header bar copy button */}
+ <div className="flex items-center justify-end px-3 py-2 bg-muted/30 rounded-t-lg">
39
<Button
40
variant="ghost"
41
size="sm"
0 commit comments