mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(post): title would wrap incorrectly in posts with no image/thumbnail
This commit is contained in:
@@ -474,7 +474,7 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies, showReplies
|
|||||||
)}
|
)}
|
||||||
<div className={isHidden ? styles.postDesktopHidden : ''}>
|
<div className={isHidden ? styles.postDesktopHidden : ''}>
|
||||||
{!isInPostPageView && !isDescription && !isRules && showReplies && (
|
{!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 className={`${styles.hideButton} ${hidden ? styles.unhideThread : styles.hideThread}`} onClick={hidden ? unhide : hide} />
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -29,6 +29,10 @@
|
|||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hideButtonWrapperNoImage {
|
||||||
|
height: 25px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.postDesktop .hideButton {
|
.postDesktop .hideButton {
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user