mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
spacer for long comments
This commit is contained in:
parent
5c1610218d
commit
a39a6a6995
2 changed files with 7 additions and 1 deletions
|
@ -11,7 +11,7 @@ const CommentTextBlock: FC<IProps> = ({ block }) => {
|
|||
<div
|
||||
className={styles.text}
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `<p>${block.content}</p>`,
|
||||
__html: `<p>${block.content} <span class="${styles.blank}"></span></p>`,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -27,3 +27,9 @@
|
|||
color: $wisegreen;
|
||||
}
|
||||
}
|
||||
|
||||
.blank {
|
||||
display: inline-flex;
|
||||
height: 1em;
|
||||
width: 150px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue