From 09f130408bb33507329785bf88a9df69a69a7308 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Tue, 23 Dec 2025 23:24:13 +0700 Subject: [PATCH] Fix agent menu spacing --- .../src/app/agent/[serverId]/[agentId].tsx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/app/src/app/agent/[serverId]/[agentId].tsx b/packages/app/src/app/agent/[serverId]/[agentId].tsx index 560ea427a..01c638bb9 100644 --- a/packages/app/src/app/agent/[serverId]/[agentId].tsx +++ b/packages/app/src/app/agent/[serverId]/[agentId].tsx @@ -684,19 +684,19 @@ function AgentScreenContent({ serverId, agentId, onBack }: AgentScreenContentPro - + View Changes - + Browse Files - + Import Agent - + New Agent - + {isInitializing ? "Refreshing..." : "Refresh"} @@ -929,14 +929,14 @@ const styles = StyleSheet.create((theme) => ({ fontWeight: theme.fontWeight.normal, }, menuSubAgentsSection: { - gap: theme.spacing[1], + gap: theme.spacing[2], }, menuSubAgentsHeader: { flexDirection: "row", alignItems: "center", gap: theme.spacing[2], - paddingHorizontal: theme.spacing[1], - paddingBottom: theme.spacing[1], + paddingHorizontal: theme.spacing[3], + paddingVertical: theme.spacing[2], }, menuSubAgentsLabel: { fontSize: theme.fontSize.xs, @@ -945,13 +945,13 @@ const styles = StyleSheet.create((theme) => ({ textTransform: "uppercase", }, menuSubAgentsEmpty: { - fontSize: theme.fontSize.sm, + fontSize: theme.fontSize.base, color: theme.colors.mutedForeground, paddingHorizontal: theme.spacing[3], - paddingVertical: theme.spacing[2], + paddingVertical: theme.spacing[3], }, menuSubAgentsList: { - maxHeight: (theme.spacing[2] * 2 + theme.fontSize.sm) * 3, + maxHeight: (theme.spacing[2] * 2 + theme.fontSize.base) * 3, }, menuSubAgentsListContent: { gap: theme.spacing[1], @@ -960,12 +960,12 @@ const styles = StyleSheet.create((theme) => ({ flexDirection: "row", alignItems: "center", justifyContent: "space-between", - paddingVertical: theme.spacing[2], + paddingVertical: theme.spacing[3], paddingHorizontal: theme.spacing[3], borderRadius: theme.borderRadius.md, }, menuSubAgentText: { - fontSize: theme.fontSize.sm, + fontSize: theme.fontSize.base, color: theme.colors.foreground, flex: 1, marginRight: theme.spacing[2],