diff --git a/packages/pl-fe/src/components/status.tsx b/packages/pl-fe/src/components/status.tsx index 0cafb59f0..577a8c5e3 100644 --- a/packages/pl-fe/src/components/status.tsx +++ b/packages/pl-fe/src/components/status.tsx @@ -203,6 +203,7 @@ const Status: React.FC = (props) => { if (isReblog && showGroup && group) { return ( } text={ @@ -264,6 +265,7 @@ const Status: React.FC = (props) => { return ( } text={ @@ -286,6 +288,7 @@ const Status: React.FC = (props) => { } else if (featured) { return ( } text={ @@ -296,6 +299,7 @@ const Status: React.FC = (props) => { } else if (showGroup && group) { return ( } text={ diff --git a/packages/pl-fe/src/components/statuses/status-info.tsx b/packages/pl-fe/src/components/statuses/status-info.tsx index 3594722d5..02ae5f425 100644 --- a/packages/pl-fe/src/components/statuses/status-info.tsx +++ b/packages/pl-fe/src/components/statuses/status-info.tsx @@ -1,3 +1,4 @@ +import clsx from 'clsx'; import React from 'react'; import HStack from 'pl-fe/components/ui/hstack'; @@ -7,11 +8,12 @@ interface IStatusInfo { avatarSize: number; icon: React.ReactNode; text: React.ReactNode; + className?: string; title?: string; } const StatusInfo = (props: IStatusInfo) => { - const { avatarSize, icon, text, title } = props; + const { avatarSize, icon, text, className, title } = props; const onClick = (event: React.MouseEvent) => { event.stopPropagation(); @@ -21,7 +23,7 @@ const StatusInfo = (props: IStatusInfo) => { = ({ return (