Merge pull request #462 from msinha569/fix/searchspacecontainer

Search Space container not fully clickable on dashboard #453
This commit is contained in:
Rohan Verma 2025-10-31 14:15:03 -07:00 committed by GitHub
commit 57fd82f17f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -292,7 +292,7 @@ const DashboardPage = () => {
mass: 0.2, mass: 0.2,
}} }}
/> />
<div className="flex flex-col h-full overflow-hidden rounded-xl border bg-muted/30 backdrop-blur-sm transition-all hover:border-primary/50"> <div className="flex flex-col h-full justify-between overflow-hidden rounded-xl border bg-muted/30 backdrop-blur-sm transition-all hover:border-primary/50">
<div className="relative h-32 w-full overflow-hidden"> <div className="relative h-32 w-full overflow-hidden">
<Link href={`/dashboard/${space.id}/documents`} key={space.id}> <Link href={`/dashboard/${space.id}/documents`} key={space.id}>
<Image <Image
@ -337,15 +337,15 @@ const DashboardPage = () => {
</div> </div>
</div> </div>
</div> </div>
<Link href={`/dashboard/${space.id}/documents`} key={space.id}> <Link className="flex flex-1 flex-col p-4 cursor-pointer" href={`/dashboard/${space.id}/documents`} key={space.id}>
<div className="flex flex-1 flex-col justify-between p-4"> <div className="flex flex-1 flex-col justify-between p-1">
<div> <div>
<h3 className="font-medium text-lg">{space.name}</h3> <h3 className="font-medium text-lg">{space.name}</h3>
<p className="mt-1 text-sm text-muted-foreground"> <p className="mt-1 text-sm text-muted-foreground">
{space.description} {space.description}
</p> </p>
</div> </div>
<div className="mt-4 flex justify-between text-xs text-muted-foreground"> <div className="mt-4 text-xs text-muted-foreground">
{/* <span>{space.title}</span> */} {/* <span>{space.title}</span> */}
<span> <span>
{t("created")} {formatDate(space.created_at)} {t("created")} {formatDate(space.created_at)}