Open platform to collect and prioritize feedback
Wrap post, comment and response meta rows on mobile
Matt Roberts15c4a96bd68c
diff --git a/public/components/PostDetails/PostDetails.tsx b/public/components/PostDetails/PostDetails.tsxindex b11593e59..78d12bc4e 100644--- a/public/components/PostDetails/PostDetails.tsx+++ b/public/components/PostDetails/PostDetails.tsx@@ -53,11 +53,13 @@ const canEditPost = (user: CurrentUser, post: Post) => {}const PostMetaInfo = ({ post, locale }: { post: Post; locale: string }) => (- <HStack spacing={2} align="center">- <Avatar user={post.user} size="small" />- <span className="text-sm text-gray-600">- <Trans id="showpost.postedby">Posted by</Trans> <UserName user={post.user} />- </span>+ <HStack spacing={0} align="center" className="flex-wrap gap-2">+ <HStack spacing={2} align="center">+ <Avatar user={post.user} size="small" />+ <span className="text-sm text-gray-600">+ <Trans id="showpost.postedby">Posted by</Trans> <UserName user={post.user} />+ </span>+ </HStack><span className="text-sm text-gray-400">•</span><Moment className="text-sm text-gray-600" locale={locale} date={post.createdAt} /><span className="text-sm text-gray-400">•</span>diff --git a/public/components/ShowPostResponse.tsx b/public/components/ShowPostResponse.tsxindex 0481e16db..86de21205 100644--- a/public/components/ShowPostResponse.tsx+++ b/public/components/ShowPostResponse.tsx@@ -33,7 +33,7 @@ export const ResponseDetails = (props: PostResponseProps): JSX.Element | null =><div className="c-response-details__card"><div className="c-response-details__inner"><VStack spacing={2}>- <HStack spacing={2} align="center">+ <HStack spacing={0} align="center" className="flex-wrap gap-2"><UserName user={props.response.user} /><span className="text-xs text-gray-600">•</span><Moment className="text-xs text-gray-600" locale={fider.currentLocale} date={props.response.respondedAt} />diff --git a/public/pages/ShowPost/components/ShowComment.tsx b/public/pages/ShowPost/components/ShowComment.tsxindex bb152e7a0..8cf6c650c 100644--- a/public/pages/ShowPost/components/ShowComment.tsx+++ b/public/pages/ShowPost/components/ShowComment.tsx@@ -190,7 +190,7 @@ export const ShowComment = (props: ShowCommentProps) => {<div ref={node} className={`c-comment__card ${classList}`}><div className="mb-1"><HStack justify="between">- <HStack>+ <HStack spacing={0} className="flex-wrap gap-2"><UserName user={comment.user} /> <span className="text-sm text-gray-400">•</span><div className="text-xs"><Moment locale={fider.currentLocale} date={comment.createdAt} /> {editedMetadata}