mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed semantic markup
This commit is contained in:
parent
746e323baf
commit
4e5a6d727a
5 changed files with 20 additions and 17 deletions
|
@ -42,18 +42,20 @@ const NodeBottomBlock: FC<IProps> = ({ commentsOrder }) => {
|
|||
<Group className={styles.comments}>
|
||||
{inline && <div className={styles.inline}>{inline}</div>}
|
||||
|
||||
{isLoading || isLoadingComments || (!comments.length && !inline) ? (
|
||||
<NodeNoComments is_loading={isLoadingComments || isLoading} />
|
||||
) : (
|
||||
<NodeComments order={commentsOrder} />
|
||||
)}
|
||||
<article>
|
||||
{isLoading || isLoadingComments || (!comments.length && !inline) ? (
|
||||
<NodeNoComments is_loading={isLoadingComments || isLoading} />
|
||||
) : (
|
||||
<NodeComments order={commentsOrder} />
|
||||
)}
|
||||
</article>
|
||||
|
||||
{isUser && !isLoading && (
|
||||
<NodeCommentForm nodeId={node.id} saveComment={onSaveComment} user={user} />
|
||||
)}
|
||||
</Group>
|
||||
|
||||
<div className={styles.panel}>
|
||||
<aside className={styles.panel}>
|
||||
<div className={styles.left}>
|
||||
<Sticky>
|
||||
<div className={styles.left_item}>
|
||||
|
@ -68,7 +70,7 @@ const NodeBottomBlock: FC<IProps> = ({ commentsOrder }) => {
|
|||
</div>
|
||||
</Sticky>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
</Group>
|
||||
</Padder>
|
||||
</Group>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue