diff --git a/components/mdx/Image.module.css b/components/mdx/Image.module.css index bc1b15d..3423dd0 100644 --- a/components/mdx/Image.module.css +++ b/components/mdx/Image.module.css @@ -1,6 +1,7 @@ .imageContainer { width: 100%; padding: 10px 0; + position: relative; } .imageContainer > span { diff --git a/components/post/PostComment.tsx b/components/post/PostComment.tsx index 03f0bb9..8d6e4cc 100644 --- a/components/post/PostComment.tsx +++ b/components/post/PostComment.tsx @@ -2,6 +2,7 @@ import { FC } from 'react'; import Giscus from '@giscus/react'; import { useTheme } from 'next-themes'; import useInView from 'lib/hooks/useInView'; +import Image from 'next/image'; const PostComment: FC = () => { const { systemTheme, theme } = useTheme(); @@ -11,7 +12,23 @@ const PostComment: FC = () => { return ( <> -
+