fix(post): title would wrap incorrectly in posts with no image/thumbnail

This commit is contained in:
Tom (plebeius.eth)
2025-02-05 15:55:08 +01:00
parent 4f2308fa94
commit 0e6796002c
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -474,7 +474,7 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies, showReplies
)}
<div className={isHidden ? styles.postDesktopHidden : ''}>
{!isInPostPageView && !isDescription && !isRules && showReplies && (
<span className={styles.hideButtonWrapper}>
<span className={`${styles.hideButtonWrapper} ${!hasThumbnail ? styles.hideButtonWrapperNoImage : ''}`}>
<span className={`${styles.hideButton} ${hidden ? styles.unhideThread : styles.hideThread}`} onClick={hidden ? unhide : hide} />
</span>
)}