From 7e619d33b53a40d069aba08fbcc0cce157d7a3de Mon Sep 17 00:00:00 2001 From: Chad Miller Date: Fri, 9 May 2025 16:22:01 -0700 Subject: [PATCH] update timeline styles --- main.tsx | 73 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 38 insertions(+), 35 deletions(-) diff --git a/main.tsx b/main.tsx index aa470ad..76d4374 100644 --- a/main.tsx +++ b/main.tsx @@ -1070,7 +1070,9 @@ function Root(props: Readonly>) { heading={

grain - beta + + beta +

} profile={profile} @@ -1153,39 +1155,16 @@ function Timeline({ items }: Readonly<{ items: TimelineItem[] }>) { function TimelineItem({ item }: Readonly<{ item: TimelineItem }>) { return (
  • -
    - - @{item.actor.handle} - {" "} - {item.itemType === "favorite" ? "favorited" : "created"}{" "} - - {(item.gallery.record as Gallery).title} - - - {formatDistanceStrict(item.createdAt, new Date(), { - addSuffix: true, - })} - -
    - + + ) : null} - +

    + + @{item.actor.handle} + {" "} + {item.itemType === "favorite" ? "favorited" : "created"}{" "} + + {(item.gallery.record as Gallery).title} + + + {formatDistanceStrict(item.createdAt, new Date(), { + addSuffix: true, + })} + +

    +
  • ); } @@ -1391,7 +1393,8 @@ function ProfilePage({ {gallery.items?.length ? ( {gallery.items?.filter(isPhotoView)?.[0]?.alt} -- 2.51.2