fix: wrong mobile value

This commit is contained in:
Tom (plebeius.eth)
2024-06-06 18:09:45 +02:00
parent 13d3e7f271
commit 3a6d2f16b0
2 changed files with 4 additions and 3 deletions
@@ -10,6 +10,7 @@
font-weight: 700; font-weight: 700;
font-size: 16px; font-size: 16px;
height: 100%; height: 100%;
cursor: pointer;
} }
.postMenu { .postMenu {
@@ -195,18 +195,18 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies, showReplies =
return ( return (
<div className={styles.postMobile}> <div className={styles.postMobile}>
{showAllReplies && ( {showReplies && (
<div className={styles.hrWrapper}> <div className={styles.hrWrapper}>
<hr /> <hr />
</div> </div>
)} )}
<div className={showAllReplies ? styles.thread : styles.quotePreview}> <div className={showReplies ? styles.thread : styles.quotePreview}>
<div className={styles.postContainer}> <div className={styles.postContainer}>
<div className={styles.postOp}> <div className={styles.postOp}>
<PostInfoAndMedia openReplyModal={openReplyModal} post={post} roles={roles} /> <PostInfoAndMedia openReplyModal={openReplyModal} post={post} roles={roles} />
{content && <PostMessageMobile post={post} />} {content && <PostMessageMobile post={post} />}
</div> </div>
{!isInPostView && !isInPendingPostView && ( {!isInPostView && !isInPendingPostView && showReplies && (
<div className={styles.postLink}> <div className={styles.postLink}>
<span className={styles.info}> <span className={styles.info}>
{replyCount > 0 && `${replyCount} Replies`} {replyCount > 0 && `${replyCount} Replies`}