Skip to content

Commit 9671c9b

Browse files
Julius Marmingeclaude
andcommitted
fix(mobile): keep compact thread row insets at 20px and 10px
Uniwind's rem base is 14 in this app, so pl-5 and pt-2.5 resolved to 17.5px and 8.75px and the compact rows drifted inward of the home header and group headers that still use HOME_HORIZONTAL_INSET. Read the left inset from the shared constant again and use pixel classes for the vertical padding. Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent 26c0e86 commit 9671c9b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎apps/mobile/src/features/threads/thread-list-items.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ export const PendingTaskListRow = memo(function PendingTaskListRow(props: {
333333
className="bg-screen active:opacity-70"
334334
onPress={() => onSelectPendingTask(pendingTask)}
335335
>
336-
<View className="pl-5 pr-[18px] pt-2.5">
337-
<View className={cn("gap-[3px] pb-2.5", !props.isLast && "border-b border-separator")}>
336+
<View className="pr-[18px] pt-[10px]" style={{ paddingLeft: THREAD_LIST_COMPACT_INSET }}>
337+
<View className={cn("gap-[3px] pb-[10px]", !props.isLast && "border-b border-separator")}>
338338
<View className="flex-row items-center justify-between gap-2">
339339
<Text className="flex-1 text-lg font-t3-bold text-foreground" numberOfLines={1}>
340340
{pendingTask.title}
@@ -577,8 +577,8 @@ export const ThreadListRow = memo(function ThreadListRow(props: {
577577
onSelectThread(thread);
578578
}}
579579
>
580-
<View className="pl-5 pr-[18px] pt-2.5">
581-
<View className={cn("gap-[3px] pb-2.5", !props.isLast && "border-b border-separator")}>
580+
<View className="pr-[18px] pt-[10px]" style={{ paddingLeft: THREAD_LIST_COMPACT_INSET }}>
581+
<View className={cn("gap-[3px] pb-[10px]", !props.isLast && "border-b border-separator")}>
582582
<View className="flex-row items-center justify-between gap-2">
583583
<Text className="flex-1 text-lg font-t3-bold text-foreground" numberOfLines={1}>
584584
{thread.title}

0 commit comments

Comments
 (0)