fix(spoiler): spoiler image wasn't showing for iframes

This commit is contained in:
Tom (plebeius.eth)
2024-07-04 21:38:01 +02:00
parent 8d766cc9e3
commit 85aeb86047
4 changed files with 6 additions and 9 deletions
+1 -3
View File
@@ -188,9 +188,7 @@ const CatalogPost = ({ post }: { post: Comment }) => {
});
const postContent = (
<div className={`${styles.teaser} ${hidden && styles.hidden}`}>
{hidden ? <b>({t('hidden')})</b> : <Markdown title={title} content={content} spoiler={spoiler} />}
</div>
<div className={`${styles.teaser} ${hidden && styles.hidden}`}>{hidden ? <b>({t('hidden')})</b> : <Markdown title={title} content={content} />}</div>
);
const { imageSize, showOPComment } = useCatalogStyleStore();