From 4c15e52b5f06e2bfc4e4ab012aa73a6285b3128c Mon Sep 17 00:00:00 2001 From: zaidmukaddam Date: Mon, 23 Dec 2024 20:07:45 +0530 Subject: [PATCH] style: enhance code display UI with improved layout and copy button functionality --- app/search/page.tsx | 79 +++++++++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 39 deletions(-) diff --git a/app/search/page.tsx b/app/search/page.tsx index 9177203..33e10a3 100644 --- a/app/search/page.tsx +++ b/app/search/page.tsx @@ -2050,49 +2050,18 @@ The new Anthropic models: Claude 3.5 Sonnet and 3.5 Haiku models are now availab }, [children]); return ( -
-
- {language || 'text'} -
- -
-
- - {children} - - +
+
+
+
+ {language || 'text'} +
+ +
+ + {children} + +
);