feat(markdown): enhance code block rendering for local web files and improve inline code styling

This commit is contained in:
Anish Sarkar 2026-04-23 20:47:00 +05:30
parent a1d3356bf5
commit b5921bf139
2 changed files with 22 additions and 3 deletions

View file

@ -312,7 +312,7 @@ export function EditorPanelContent({
{showDesktopHeader ? (
<div className="shrink-0 border-b">
<div className="flex h-12 items-center justify-between px-4">
<h2 className="text-lg font-medium text-muted-foreground">File</h2>
<h2 className="text-lg font-medium text-muted-foreground select-none">File</h2>
<div className="flex items-center gap-1 shrink-0">
<Button variant="ghost" size="icon" onClick={onClose} className="size-7 shrink-0">
<XIcon className="size-4" />