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
className={styles.text}
dangerouslySetInnerHTML={{
__html: `<p>${block.content} <span class="${styles.blank}"></span></p>`,
__html: `<p>${block.content}</p>`,
}}
/>
);

View file

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