feat: enhance playground UI

Refine the Playground's UI to improve user experience:

- Streamline chat window layout for better message readability
- Introduce a knowledge selection dropdown for easier context setting
- Improve image upload integration for a smoother workflow
- Optimize spacing and styling for a more polished visual appearance
This commit is contained in:
n4ze3m
2024-10-20 17:45:56 +05:30
parent 7be993c057
commit a2f9002b81
5 changed files with 32 additions and 25 deletions

View File

@@ -90,7 +90,11 @@ export const CodeBlock: FC<Props> = ({ language, value }) => {
width="80%"
zIndex={999999}
centered
bodyStyle={{ padding: 0 }}>
styles={{
body: {
padding: 0
}
}}>
<div className="relative w-full h-[80vh]">
<iframe
srcDoc={value}