diff --git a/components/NotionPage.tsx b/components/NotionPage.tsx index 4a55a89..9d5d0dd 100644 --- a/components/NotionPage.tsx +++ b/components/NotionPage.tsx @@ -3,6 +3,7 @@ import Head from 'next/head' import Link from 'next/link' import { useRouter } from 'next/router' import { useLocalStorage, useSearchParam } from 'react-use' +import { IconContext } from 'react-icons' import BodyClassName from 'react-body-classname' // core notion renderer @@ -86,7 +87,7 @@ export const NotionPage: React.FC = ({ !isDev && getCanonicalPageUrl(site, recordMap)(pageId) return ( - <> + @@ -143,6 +144,6 @@ export const NotionPage: React.FC = ({ /> - + ) } diff --git a/components/styles.module.css b/components/styles.module.css index f5b0bfa..6572d85 100644 --- a/components/styles.module.css +++ b/components/styles.module.css @@ -61,8 +61,8 @@ .social a { font-size: 2em; - display: inline-block; - padding: 0.25; + display: inline-flex; + padding: 0.25em; margin-right: 1vw; transition: color 250ms ease-out; } diff --git a/pages/_document.tsx b/pages/_document.tsx index b602082..c320241 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -38,6 +38,7 @@ export default class MyDocument extends Document {
+