Refactor: increase space between files
This commit is contained in:
parent
82af33bb3a
commit
948223a1a8
2 changed files with 2 additions and 2 deletions
|
|
@ -322,7 +322,7 @@ dark:prose-invert"
|
|||
{chatMessage}
|
||||
</span>
|
||||
{chat.files && (
|
||||
<div className="my-2">
|
||||
<div className="my-2 flex flex-col gap-5">
|
||||
{chat.files.map((file, index) => {
|
||||
return (
|
||||
<div key={index} className="flex flex-col gap-2">
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ export default function FilePreview({
|
|||
<div>Error...</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" : ""
|
||||
}`}
|
||||
onMouseEnter={() => setIsHovered(true)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue