add scroll to component

This commit is contained in:
th1nhng0
2021-09-11 19:29:54 +07:00
parent 06b927632e
commit 0359fa41bf
6 changed files with 192 additions and 10 deletions

View File

@ -37,7 +37,7 @@ const Comments = ({ frontMatter }) => {
break
}
return (
<>
<div id="comment">
{siteMetadata.comment && siteMetadata.comment.provider === 'giscus' && (
<GiscusComponent mapping={term} />
)}
@ -47,7 +47,7 @@ const Comments = ({ frontMatter }) => {
{siteMetadata.comment && siteMetadata.comment.provider === 'disqus' && (
<DisqusComponent frontMatter={frontMatter} />
)}
</>
</div>
)
}