Skip to content

Commit f12ae66

Browse files
committed
cleanup
1 parent 5454e3b commit f12ae66

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

apps/mobile/src/features/agent/components/AgentMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface AgentMessageProps {
66

77
export function AgentMessage({ content }: AgentMessageProps) {
88
return (
9-
<View className="mb-3 max-w-[95%] py-1">
9+
<View className="mb-3 max-w-[95%] px-4 py-1">
1010
<Text className="font-mono text-[13px] text-neutral-200 leading-5">
1111
{content}
1212
</Text>

apps/mobile/src/features/agent/components/AgentSessionView.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,10 @@ export function AgentSessionView({
191191
renderItem={renderMessage}
192192
keyExtractor={(item) => item.id}
193193
inverted
194-
contentContainerStyle={{ flexDirection: "column-reverse", padding: 16 }}
194+
contentContainerStyle={{
195+
flexDirection: "column-reverse",
196+
paddingVertical: 16,
197+
}}
195198
ListHeaderComponent={
196199
isPromptPending ? (
197200
<View className="mb-2 flex-row items-center gap-2">

apps/mobile/src/features/agent/components/ToolCallBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function ToolCallBlock({
4545
const displayTitle = formatToolTitle(toolName, args);
4646

4747
return (
48-
<View className="py-0.5">
48+
<View className="px-4 py-0.5">
4949
<Pressable
5050
onPress={() => hasContent && setIsOpen(!isOpen)}
5151
className="flex-row gap-2 items-center"

0 commit comments

Comments
 (0)