1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 13:26:40 +07:00

fixed youtube embed margins

This commit is contained in:
Fedor Katurov 2020-04-19 12:53:58 +07:00
parent 60c843701c
commit 776d4a8992
3 changed files with 21 additions and 6 deletions

View file

@ -53,11 +53,13 @@ const CommentContent: FC<IProps> = memo(({ comment, can_edit, onDelete, onEdit }
<Group className={classnames(styles.block, styles.block_text)}>
{menu}
{formatCommentText(path(['user', 'username'], comment), comment.text).map(
(block, key) =>
COMMENT_BLOCK_RENDERERS[block.type] &&
createElement(COMMENT_BLOCK_RENDERERS[block.type], { block, key })
)}
<Group className={styles.renderers}>
{formatCommentText(path(['user', 'username'], comment), comment.text).map(
(block, key) =>
COMMENT_BLOCK_RENDERERS[block.type] &&
createElement(COMMENT_BLOCK_RENDERERS[block.type], { block, key })
)}
</Group>
<div className={styles.date}>{getPrettyDate(comment.created_at)}</div>
</Group>

View file

@ -138,3 +138,8 @@
text-align: center;
}
}
.renderers {
width: 100%;
margin: 0 !important;
}