diff --git a/packages/sharing-editor/package.json b/packages/sharing-editor/package.json index 67a9025ca..0186eccdb 100644 --- a/packages/sharing-editor/package.json +++ b/packages/sharing-editor/package.json @@ -12,6 +12,7 @@ "@types/react-dom": "^18.2.0", "classnames": "^2.3.2", "mime": "^4.0.1", + "normalize.css": "^8.0.1", "nprogress": "^0.2.0", "re-resizable": "^6.9.9", "react": "^18.2.0", diff --git a/packages/sharing-editor/src/index.css b/packages/sharing-editor/src/index.css index 9f45ea1d0..6ca02b462 100644 --- a/packages/sharing-editor/src/index.css +++ b/packages/sharing-editor/src/index.css @@ -1,5 +1,3 @@ -@import-normalize; - html, body, #root { @@ -9,9 +7,9 @@ body, body { margin: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", - "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", - "Helvetica Neue", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } diff --git a/packages/sharing-editor/src/index.tsx b/packages/sharing-editor/src/index.tsx index b1773a55f..e2a5058ce 100644 --- a/packages/sharing-editor/src/index.tsx +++ b/packages/sharing-editor/src/index.tsx @@ -1,5 +1,6 @@ import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; +import "normalize.css"; import "./index.css"; import "./global.scss"; import { createBrowserRouter, RouterProvider } from "react-router-dom"; @@ -24,7 +25,7 @@ const router = createBrowserRouter([ createRoot(document.getElementById("root") as HTMLElement).render( - , + ); // If you want to start measuring performance in your app, pass a function diff --git a/yarn.lock b/yarn.lock index 13abce49f..6d201c89c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10848,7 +10848,7 @@ immer@^9.0.19: resolved "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz" integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA== -immutable@4.2.3, immutable@^4.0.0: +immutable@^4.0.0: version "4.2.3" resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.2.3.tgz#a203cdda37a5a30bc351b982a1794c1930198815" integrity sha512-IHpmvaOIX4VLJwPOuQr1NpeBr2ZG6vpIj3blsLVxXRWJscLioaJRStqC+NcBsLeCDsnGlPpXd5/WZmnE7MbsKA== @@ -13964,6 +13964,11 @@ normalize-url@^6.0.1: resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz" integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== +normalize.css@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/normalize.css/-/normalize.css-8.0.1.tgz#9b98a208738b9cc2634caacbc42d131c97487bf3" + integrity sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg== + npm-install-checks@^6.0.0: version "6.3.0" resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz" @@ -15336,7 +15341,7 @@ protobufjs-cli@^1.1.0: tmp "^0.2.1" uglify-js "^3.7.7" -protobufjs@7.2.5, protobufjs@^7.2.4, protobufjs@^7.2.5: +protobufjs@^7.2.4, protobufjs@^7.2.5: version "7.2.5" resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.2.5.tgz#45d5c57387a6d29a17aab6846dcc283f9b8e7f2d" integrity sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==