From 4b28b6f366f57b5016f193609988ada7aa175765 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 11 Feb 2023 09:03:18 +0800 Subject: [PATCH] Potential fix for Vite messing up the CSS import order --- src/app.css | 3 +++ src/app.jsx | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.css b/src/app.css index 0faa814c..80079981 100644 --- a/src/app.css +++ b/src/app.css @@ -1,3 +1,6 @@ +@import url('@szhsin/react-menu/dist/core.css'); +@import url('toastify-js/src/toastify.css'); + html, body { margin: 0; diff --git a/src/app.jsx b/src/app.jsx index a5b0436c..9ff2b17c 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -1,6 +1,3 @@ -import '@szhsin/react-menu/dist/core.css'; -import 'toastify-js/src/toastify.css'; - import './app.css'; import debounce from 'just-debounce-it';