Skip to content

Commit 549b50b

Browse files
committed
fix: style
1 parent 27d5dd9 commit 549b50b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Preview.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Button } from "@/components/Button";
22
import { ResizablePanel } from "@/components/Resizable";
3-
import { useTheme } from "@/contexts/theme";
43
import {
54
type Diagnostic,
65
type InternalDiagnostic,
@@ -274,7 +273,7 @@ type ErroBlockPorps = {
274273
};
275274
const ErrorBlock: FC<ErroBlockPorps> = ({ diagnostic }) => {
276275
return (
277-
<div className="rounded-xl bg-surface-tertiary p-3 font-mono text-content-primary text-sm leading-normal">
276+
<div className="w-full rounded-xl bg-surface-tertiary p-3 font-mono text-content-primary text-sm leading-normal">
278277
<p
279278
className={cn(
280279
"text-content-destructive",

0 commit comments

Comments
 (0)