1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

fixed youtube block

This commit is contained in:
Fedor Katurov 2019-11-26 11:07:40 +07:00
parent 93afa626db
commit b87487ed1f
7 changed files with 34 additions and 7 deletions

View file

@ -31,7 +31,7 @@ const CommentContent: FC<IProps> = memo(({ comment }) => {
return (
<>
{comment.text && (
<div className={styles.block}>
<Group className={styles.block}>
{formatCommentText(path(['user', 'username'], comment), comment.text).map(
(block, key) =>
COMMENT_BLOCK_RENDERERS[block.type] &&
@ -39,7 +39,7 @@ const CommentContent: FC<IProps> = memo(({ comment }) => {
)}
<div className={styles.date}>{getPrettyDate(comment.created_at)}</div>
</div>
</Group>
)}
{groupped.image && groupped.image.length > 0 && (

View file

@ -11,6 +11,7 @@
padding-bottom: 10px;
box-sizing: border-box;
flex-direction: column;
padding: $gap 0;
&:first-child {
border-top-right-radius: $radius;