From 584aaf5c0a4347ae7487f63bd512df9d509b30c3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 16 Jan 2023 17:33:50 +0100 Subject: [PATCH] Fix icon size on prerender --- pages/_app.css | 2 ++ pages/_app.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pages/_app.css b/pages/_app.css index 7d72718..3941956 100644 --- a/pages/_app.css +++ b/pages/_app.css @@ -1,3 +1,5 @@ +@import 'node_modules/@fortawesome/fontawesome-svg-core/styles.css'; + body { background-image: url("/space_default.jpg"); background-attachment: fixed; diff --git a/pages/_app.tsx b/pages/_app.tsx index 02c5bef..27ba377 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -14,6 +14,8 @@ import {default as imgSRound} from "../public/s-round.png" import type {AppProps} from "next/app" +import { config } from '@fortawesome/fontawesome-svg-core' +config.autoAddCss = false const App = ({Component, pageProps}: AppProps) => { return <>