Skip to content

Commit 6436a6a

Browse files
fix(mobile): make Arrange thread rows more compact
1 parent 2dd9131 commit 6436a6a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎apps/mobile/src/features/threads/ThreadArrangementSheet.tsx‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828
} from "./threadOrder";
2929
import { getThreadListV2OrderedSection } from "./threadListV2";
3030

31-
const ROW_HEIGHT = 72;
31+
const ROW_HEIGHT = 56;
3232
const HEADER_HEIGHT = 48;
3333
const keyOf = (thread: EnvironmentThreadShell) => scopedThreadKey(thread.environmentId, thread.id);
3434
type Section = "pinned" | "active" | "snoozed" | "settled";
@@ -486,7 +486,10 @@ export function ThreadArrangementSheet(props: { onClose: () => void }) {
486486
className="absolute left-5 right-5 justify-center rounded-xl border border-border bg-screen px-4"
487487
style={{ top: 0, height: ROW_HEIGHT, transform: [{ translateY }] }}
488488
>
489-
<Text numberOfLines={2} className="text-base font-t3-medium">
489+
<Text
490+
numberOfLines={visiblePreview.destination?.section ? 1 : 2}
491+
className="text-base font-t3-medium"
492+
>
490493
{visiblePreview.thread.title}
491494
</Text>
492495
{visiblePreview.destination?.section ? (

0 commit comments

Comments
 (0)