+
{workspace.isInSidebar ? (
-
- ) : null}
-
+
+
+
+
+
+ {isCurrentRoute
+ ? "Can't remove the current workspace"
+ : "Remove from sidebar"}
+
+
+ ) : (
+
+
+
+
+ Add to sidebar
+
+ )}
+
{timeLabel} ยท {creatorLabel}
-
-
- {workspace.isInSidebar ? (
-
-
-
-
-
- {isCurrentRoute
- ? "Can't remove the current workspace"
- : "Remove from sidebar"}
-
-
- ) : (
-
-
-
-
- Add to sidebar
-
- )}
-
);
diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspaces/components/V2WorkspacesList/constants.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspaces/components/V2WorkspacesList/constants.ts
index 738705ecda4..ed4b034fa9a 100644
--- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspaces/components/V2WorkspacesList/constants.ts
+++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspaces/components/V2WorkspacesList/constants.ts
@@ -1,5 +1,5 @@
// Shared grid template used by the column header row and every workspace row
-// so the Sidebar / Name / Host / Branch / Created / Action columns align
-// across the whole view. Columns hide progressively on narrower viewports.
+// so the Sidebar action / Name / Host / Branch / Created columns align across
+// the whole view. Columns hide progressively on narrower viewports.
export const V2_WORKSPACES_ROW_GRID =
- "grid grid-cols-[1.25rem_minmax(0,1fr)_2.5rem] gap-4 md:grid-cols-[1.25rem_minmax(0,1fr)_12rem_2.5rem] lg:grid-cols-[1.25rem_minmax(0,1fr)_12rem_14rem_2.5rem] xl:grid-cols-[1.25rem_minmax(0,1fr)_12rem_14rem_11rem_2.5rem] items-center";
+ "grid grid-cols-[2.5rem_minmax(0,1fr)] gap-4 md:grid-cols-[2.5rem_minmax(0,1fr)_12rem] lg:grid-cols-[2.5rem_minmax(0,1fr)_12rem_14rem] xl:grid-cols-[2.5rem_minmax(0,1fr)_12rem_14rem_11rem] items-center";