mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(catalog post): display title inline
This commit is contained in:
@@ -175,14 +175,7 @@ const CatalogPost = ({ post }: { post: Comment }) => {
|
||||
|
||||
const postContent = (
|
||||
<div className={`${styles.teaser} ${hidden && styles.hidden}`}>
|
||||
{hidden ? (
|
||||
<b>({t('hidden')})</b>
|
||||
) : (
|
||||
<>
|
||||
<b>{title && `${title}${content ? ': ' : ''}`}</b>
|
||||
<Markdown content={content} spoiler={spoiler} />
|
||||
</>
|
||||
)}
|
||||
{hidden ? <b>({t('hidden')})</b> : <Markdown title={title} content={content} spoiler={spoiler} />}
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user