Skip to content

Commit 57fd82f

Browse files
authored
Merge pull request #462 from msinha569/fix/searchspacecontainer
Search Space container not fully clickable on dashboard #453
2 parents a8e4092 + d59478e commit 57fd82f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

surfsense_web/app/dashboard/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ const DashboardPage = () => {
292292
mass: 0.2,
293293
}}
294294
/>
295-
<div className="flex flex-col h-full overflow-hidden rounded-xl border bg-muted/30 backdrop-blur-sm transition-all hover:border-primary/50">
295+
<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">
296296
<div className="relative h-32 w-full overflow-hidden">
297297
<Link href={`/dashboard/${space.id}/documents`} key={space.id}>
298298
<Image
@@ -337,15 +337,15 @@ const DashboardPage = () => {
337337
</div>
338338
</div>
339339
</div>
340-
<Link href={`/dashboard/${space.id}/documents`} key={space.id}>
341-
<div className="flex flex-1 flex-col justify-between p-4">
340+
<Link className="flex flex-1 flex-col p-4 cursor-pointer" href={`/dashboard/${space.id}/documents`} key={space.id}>
341+
<div className="flex flex-1 flex-col justify-between p-1">
342342
<div>
343343
<h3 className="font-medium text-lg">{space.name}</h3>
344344
<p className="mt-1 text-sm text-muted-foreground">
345345
{space.description}
346346
</p>
347347
</div>
348-
<div className="mt-4 flex justify-between text-xs text-muted-foreground">
348+
<div className="mt-4 text-xs text-muted-foreground">
349349
{/* <span>{space.title}</span> */}
350350
<span>
351351
{t("created")} {formatDate(space.created_at)}

0 commit comments

Comments
 (0)