Skip to content

Commit 3676950

Browse files
adamleithpclaude
andcommitted
tighten thread item + mention link spacing
Reduce vertical padding on channel feed and demo message thread items, and trim the inline mention/link chip padding for a denser feed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 991b34d commit 3676950

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/ui/src/features/canvas/components/ChannelFeedView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ const FeedItem = memo(function FeedItem({
403403
onOpenThread: (task: Task) => void;
404404
}) {
405405
return (
406-
<ThreadItem className="rounded-none py-4 pr-8 hover:bg-fill-hover/50">
406+
<ThreadItem className="rounded-none py-1 pr-8 hover:bg-fill-hover/50">
407407
<ThreadItemGutter>
408408
<Avatar>
409409
<AvatarFallback>
@@ -618,7 +618,7 @@ export function DemoMessageItem({
618618
});
619619
};
620620
return (
621-
<ThreadItem className="rounded-none py-4 pr-8">
621+
<ThreadItem className="rounded-none py-2 pr-8">
622622
<ThreadItemGutter>
623623
<Avatar>
624624
<AvatarFallback>

packages/ui/src/features/canvas/components/MentionText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export function MentionText({
102102
}, [content, markdownLinks]);
103103
const selfEmail = currentUserEmail?.toLowerCase();
104104
const router = useRouter();
105-
const linkClass = "bg-info/50 px-1 rounded-xs";
105+
const linkClass = "bg-info/50 px-0.5 rounded-xs";
106106
return (
107107
<Text size="1" className={className}>
108108
{segments.map(({ segment, key }) => {

0 commit comments

Comments
 (0)