From 9350c71c27b74e19096b85fcec8eff4d897bf71d Mon Sep 17 00:00:00 2001 From: webadderall <131426131+webadderall@users.noreply.github.com> Date: Mon, 23 Mar 2026 20:43:26 +1100 Subject: [PATCH] style(projects): simplify browser tiles --- .../video-editor/ProjectBrowserDialog.tsx | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/src/components/video-editor/ProjectBrowserDialog.tsx b/src/components/video-editor/ProjectBrowserDialog.tsx index 390158fd..5ac943d1 100644 --- a/src/components/video-editor/ProjectBrowserDialog.tsx +++ b/src/components/video-editor/ProjectBrowserDialog.tsx @@ -30,7 +30,6 @@ function formatUpdatedAt(updatedAt: number) { return new Date(updatedAt).toLocaleString(); } } - export default function ProjectBrowserDialog({ open, onOpenChange, @@ -57,9 +56,9 @@ export default function ProjectBrowserDialog({ key={entry.path} type="button" onClick={() => onOpenProject(entry.path)} - className="group flex flex-col overflow-hidden rounded-2xl border border-white/10 bg-[#1a1a1f] text-left outline-none transition hover:border-white/20 hover:bg-[#202028] focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0" + className="group flex flex-col gap-2 bg-transparent text-left outline-none transition focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0" > -
+
{thumbnailSrc ? ( )} -
- - {entry.isInProjectsDirectory ? "Library" : "Recent"} - - {entry.isCurrent ? ( - + {entry.isCurrent ? ( +
+ Current - ) : null} -
+
+ ) : null}
-
+
{entry.name}
-
{entry.path}
-
+
Updated {formatUpdatedAt(entry.updatedAt)}