From 7fb652fbf8e1d60a9429ed7f9898e02512ed42e7 Mon Sep 17 00:00:00 2001 From: LeonardYam Date: Thu, 10 Aug 2023 00:13:30 +0800 Subject: [PATCH] Revert "fix: integrate normalize.css to apply consistent styles" This reverts commit af9826149408392908420a148dd85df62c0d9cac. Currently, importing 'normalize.css' is causing inconsistent styles (see: https://github.com/vercel/next.js/issues/51030) --- package-lock.json | 6 ------ package.json | 1 - src/app/layout.tsx | 1 - 3 files changed, 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index ec912c8..a49b8a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,6 @@ "eslint": "8.40.0", "eslint-config-next": "13.4.1", "next": "^13.4.2", - "normalize.css": "^8.0.1", "react": "18.2.0", "react-dom": "18.2.0", "typescript": "5.0.4" @@ -2637,11 +2636,6 @@ } } }, - "node_modules/normalize.css": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/normalize.css/-/normalize.css-8.0.1.tgz", - "integrity": "sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==" - }, "node_modules/npm-run-path": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", diff --git a/package.json b/package.json index 3652451..9414e14 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "eslint": "8.40.0", "eslint-config-next": "13.4.1", "next": "^13.4.2", - "normalize.css": "^8.0.1", "react": "18.2.0", "react-dom": "18.2.0", "typescript": "5.0.4" diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 02446d0..7fa4f4d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,7 +3,6 @@ import { Analytics } from "@vercel/analytics/react"; import React from "react"; import NavBar from "@/app/NavBar"; import Footer from "@/app/Footer"; -import 'normalize.css' import './global.css'; import "@fortawesome/fontawesome-svg-core/styles.css" import { config } from "@fortawesome/fontawesome-svg-core"