Skip to content

Commit c030f08

Browse files
authored
fix: codeblock header border-radius (#828)
fix: add classname "rounded-t-md"
1 parent 004be5c commit c030f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/markdown/CodeBlockView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function CodeBlockView({
3737
style={style}
3838
>
3939
{(title || showTypeCopyButton) && (
40-
<div className="flex items-center justify-between px-4 py-2 bg-gray-50 dark:bg-gray-900">
40+
<div className="flex items-center justify-between px-4 py-2 bg-gray-50 dark:bg-gray-900 rounded-t-md">
4141
<div className="text-xs text-gray-700 dark:text-gray-300">
4242
{title || (lang?.toLowerCase() === 'bash' ? 'sh' : (lang ?? ''))}
4343
</div>

0 commit comments

Comments
 (0)