From ccd0e0851c36ce98809be80c5ec03558a0656d76 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 18 Apr 2024 08:41:54 +0100 Subject: [PATCH] add background --- src/app/components/code-dialog.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/components/code-dialog.tsx b/src/app/components/code-dialog.tsx index b19cd86..bab827b 100644 --- a/src/app/components/code-dialog.tsx +++ b/src/app/components/code-dialog.tsx @@ -40,9 +40,10 @@ export function CodeDialog({ title, description, code, children }: CodeDialogPro wrapLongLines customStyle={{ maxHeight: "600px", - backgroundColor: "var(--secondary)", + backgroundColor: "hsl(var(--popover))", overflow: "hidden", wordBreak: "break-all", + borderRadius: "0.75rem", }} > {code}