diff --git a/components/content-card/content-card.tsx b/components/content-card/content-card.tsx index b658680b..d0c7aa6c 100644 --- a/components/content-card/content-card.tsx +++ b/components/content-card/content-card.tsx @@ -115,7 +115,7 @@ const Content = memo( > {poster ? ( typeof poster === 'string' ? ( diff --git a/components/ui/horizontal-card.tsx b/components/ui/horizontal-card.tsx index 1b1cb89e..b480fe46 100644 --- a/components/ui/horizontal-card.tsx +++ b/components/ui/horizontal-card.tsx @@ -24,6 +24,7 @@ interface Props extends ComponentProps<'div'> { imageClassName?: string; imageContainerClassName?: string; imageRatio?: number; + imageChildren?: ReactNode; } const HorizontalCard: FC = ({ @@ -40,6 +41,7 @@ const HorizontalCard: FC = ({ imageClassName, imageContainerClassName, imageRatio, + imageChildren, className, children, ...props @@ -52,7 +54,9 @@ const HorizontalCard: FC = ({ containerRatio={imageRatio} href={href} poster={image} - /> + > + {imageChildren} +
diff --git a/features/common/navbar/notifications-menu/notification-item.tsx b/features/common/navbar/notifications-menu/notification-item.tsx index 8f242697..2e9f5e94 100644 --- a/features/common/navbar/notifications-menu/notification-item.tsx +++ b/features/common/navbar/notifications-menu/notification-item.tsx @@ -39,7 +39,13 @@ const NotificationItem: FC = ({ data }) => { createdAt={data.created} image={data.icon} imageRatio={1} + imageClassName="overflow-visible" imageContainerClassName="w-8" + imageChildren={ + !data.seen && ( +
+ ) + } > {data.poster && data.poster}