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:
parent
95fbeaabbb
commit
2be23d0244
2 changed files with 11 additions and 6 deletions
|
@ -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>`,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue