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

spacer for long comments

This commit is contained in:
Fedor Katurov 2020-05-25 18:05:44 +07:00
parent 5c1610218d
commit a39a6a6995
2 changed files with 7 additions and 1 deletions

View file

@ -11,7 +11,7 @@ const CommentTextBlock: FC<IProps> = ({ block }) => {
<div <div
className={styles.text} className={styles.text}
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: `<p>${block.content}</p>`, __html: `<p>${block.content} <span class="${styles.blank}"></span></p>`,
}} }}
/> />
); );

View file

@ -27,3 +27,9 @@
color: $wisegreen; color: $wisegreen;
} }
} }
.blank {
display: inline-flex;
height: 1em;
width: 150px;
}