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

fixed comment blank placeholder

This commit is contained in:
Fedor Katurov 2020-06-25 17:20:11 +07:00
parent 95fbeaabbb
commit 2be23d0244
2 changed files with 11 additions and 6 deletions

View file

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

View file

@ -26,10 +26,15 @@
:global(.green) { :global(.green) {
color: $wisegreen; color: $wisegreen;
} }
}
.blank { &:last-child {
display: inline-flex; p {
height: 1em; &::after {
width: 150px; content: '';
display: inline-flex;
height: 1em;
width: 150px;
}
}
}
} }