Skip to content

Commit

Permalink
fix: #WB-3165 placement button in post preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Romu-C committed Jul 11, 2024
1 parent 6e1104e commit 59db466
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/src/components/PostPreview/PostPreviewFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const PostPreviewFooter = ({ post }: PostPreviewFooterProps) => {

return (
<div>
<div className="d-flex align-items-center pb-4">
<div className="d-flex align-items-center pb-4">
{showAudience && !!postsReactionsSummary?.[post._id] && (
<div className="post-footer-element">
<ReactionSummary
Expand Down Expand Up @@ -125,20 +125,20 @@ export const PostPreviewFooter = ({ post }: PostPreviewFooterProps) => {
)}
</div>
<div className="d-flex justify-content-between align-items-center">
{showAudience && (
<div className="pt-4">
<div className="pt-4">
{showAudience && (
<ReactionChoice
availableReactions={availableReactions}
summary={postsReactionsSummary?.[post._id]}
onChange={setUserReactionChoice}
/>
</div>
)}
)}
</div>
<Button
variant="ghost"
rightIcon={<ArrowRight />}
color="secondary"
className="align-self-end"
className="align-self-end justify-self-end"
onClick={handleClickGoDetail}
>
{t("blog.post.preview.readMore")}
Expand Down

0 comments on commit 59db466

Please sign in to comment.