Skip to content

Commit 7e78e51

Browse files
committed
feat(mobile): single-column card grid and tighter padding on mobile for agents page
1 parent 7d6d095 commit 7e78e51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/mesh/src/web/routes/orgs/agents.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ function OrgAgentsContent() {
307307
{/* Content: Cards or Table */}
308308
<Page.Content>
309309
{listState.viewMode === "cards" ? (
310-
<div className="flex-1 overflow-auto p-5">
310+
<div className="flex-1 overflow-auto p-3 md:p-5">
311311
{virtualMcps.length === 0 ? (
312312
<EmptyState
313313
image={<Users03 size={36} className="text-muted-foreground" />}
@@ -319,7 +319,7 @@ function OrgAgentsContent() {
319319
}
320320
/>
321321
) : (
322-
<div className="grid grid-cols-[repeat(auto-fill,minmax(280px,1fr))] gap-4">
322+
<div className="grid grid-cols-1 md:grid-cols-[repeat(auto-fill,minmax(280px,1fr))] gap-4">
323323
{virtualMcps.map((virtualMcp) => (
324324
<ConnectionCard
325325
key={virtualMcp.id ?? "default"}

0 commit comments

Comments
 (0)