From 1a85ca765699d13f8dd2c3423e9c7fe847fde6ec Mon Sep 17 00:00:00 2001 From: Hongming Wang Date: Thu, 16 Apr 2026 06:42:41 -0700 Subject: [PATCH] fix(canvas): template layout + org card styling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Wider modal (max-w-2xl), 3-col grid, no max-height clipping - Org template cards: violet→blue, consistent rounded-xl styling - Container scrolls vertically instead of cutting off --- canvas/src/components/EmptyState.tsx | 6 +++--- canvas/src/components/TemplatePalette.tsx | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/canvas/src/components/EmptyState.tsx b/canvas/src/components/EmptyState.tsx index ebaa0289..998d88c0 100644 --- a/canvas/src/components/EmptyState.tsx +++ b/canvas/src/components/EmptyState.tsx @@ -79,8 +79,8 @@ export function EmptyState() { }; return ( -
-
+
+
{/* Logo */} @@ -107,7 +107,7 @@ export function EmptyState() { {loading ? (
Loading templates...
) : templates.length > 0 ? ( -
+
{templates.map((t) => { const tierColor = TIER_COLORS[t.tier] || TIER_COLORS[1]; return ( diff --git a/canvas/src/components/TemplatePalette.tsx b/canvas/src/components/TemplatePalette.tsx index 12cb9fdf..e94f6363 100644 --- a/canvas/src/components/TemplatePalette.tsx +++ b/canvas/src/components/TemplatePalette.tsx @@ -112,25 +112,25 @@ export function OrgTemplatesSection() { return (
-
- +
+ {o.name || o.dir} - - {o.workspaces}w + + {o.workspaces} workspaces
{o.description && ( -

+

{o.description}

)}