Refactor: increase space between files

This commit is contained in:
igorrCarvalho 2024-06-05 19:57:34 -03:00
commit 948223a1a8
2 changed files with 2 additions and 2 deletions

View file

@ -322,7 +322,7 @@ dark:prose-invert"
{chatMessage} {chatMessage}
</span> </span>
{chat.files && ( {chat.files && (
<div className="my-2"> <div className="my-2 flex flex-col gap-5">
{chat.files.map((file, index) => { {chat.files.map((file, index) => {
return ( return (
<div key={index} className="flex flex-col gap-2"> <div key={index} className="flex flex-col gap-2">

View file

@ -62,7 +62,7 @@ export default function FilePreview({
<div>Error...</div> <div>Error...</div>
) : ( ) : (
<div <div
className={`relative ${isImage ? "h-20 w-20" : "h-20 w-80"} cursor-pointer rounded-lg border border-ring bg-background transition duration-300 ${ className={`relative mt-2 ${isImage ? "h-20 w-20" : "h-20 w-80"} cursor-pointer rounded-lg border border-ring bg-background transition duration-300 ${
isHovered ? "shadow-md" : "" isHovered ? "shadow-md" : ""
}`} }`}
onMouseEnter={() => setIsHovered(true)} onMouseEnter={() => setIsHovered(true)}