Open platform to collect and prioritize feedback
Smaller lozenge on listing
Matt Robertse967529a1cb7
diff --git a/public/components/ShowPostResponse.tsx b/public/components/ShowPostResponse.tsxindex 5b4865935..cd06ae5dc 100644--- a/public/components/ShowPostResponse.tsx+++ b/public/components/ShowPostResponse.tsx@@ -12,6 +12,7 @@ import { timeSince } from "@fider/services"interface PostResponseProps {status: stringresponse: PostResponse | null+ small?: boolean}export const ResponseDetails = (props: PostResponseProps): JSX.Element | null => {@@ -68,8 +69,8 @@ export const ResponseLozenge = (props: PostResponseProps): JSX.Element | null =>return (<div><HStack align="start" className={`${color} ${bg} border ${border} rounded-full p-1 px-3`}>- <Icon sprite={icon} className={`h-5 c-status-col--${status.value}`} />- <span className={`text-semibold c-status-col--${status.value}`}>{status.title}</span>+ {!props.small && <Icon sprite={icon} className={`h-5 c-status-col--${status.value}`} />}+ <span className={`c-status-col--${status.value} ${props.small ? "text-sm" : "text-semibold"}`}>{status.title}</span></HStack></div>)diff --git a/public/pages/Home/components/ListPosts.tsx b/public/pages/Home/components/ListPosts.tsxindex 7f32a022d..a3fec8b52 100644--- a/public/pages/Home/components/ListPosts.tsx+++ b/public/pages/Home/components/ListPosts.tsx@@ -19,7 +19,7 @@ const ListPostItem = (props: { post: Post; user?: CurrentUser; tags: Tag[] }) =><VStack className="w-full" spacing={2}>{props.post.status !== "open" && (<div className="mb-2 align-self-start">- <ResponseLozenge status={props.post.status} response={props.post.response} />+ <ResponseLozenge status={props.post.status} response={props.post.response} small={true} /></div>)}<HStack justify="between">