Skip to content

Commit

Permalink
fix: align notification skeleton to left
Browse files Browse the repository at this point in the history
close #1672
  • Loading branch information
hyoban committed Nov 20, 2024
1 parent 0432618 commit fa08d1a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function NotificationItem({ entryId, entryPreview, translation }: Univers

export function NotificationItemStateLess({ entry, feed }: EntryItemStatelessProps) {
return (
<div className="relative mx-auto w-full max-w-lg">
<div className="relative w-full max-w-lg">
<div className="group relative flex py-4 pl-3 pr-2">
<FeedIcon feed={feed} fallback />

Expand All @@ -31,7 +31,7 @@ export function NotificationItemStateLess({ entry, feed }: EntryItemStatelessPro
}

export const NotificationItemSkeleton = (
<div className="relative mx-auto w-full max-w-lg">
<div className="relative w-full max-w-lg">
<div className="group relative flex py-4 pl-3 pr-2">
<Skeleton className="mr-2 size-5 shrink-0 overflow-hidden rounded-sm " />
<div className="-mt-0.5 line-clamp-4 flex-1 text-sm leading-tight">
Expand Down

0 comments on commit fa08d1a

Please sign in to comment.