From 9bcbe7ba5f8f113ea296aa21954395431e33a8ff Mon Sep 17 00:00:00 2001 From: Anjorin Damilare Date: Mon, 21 Feb 2022 22:40:33 +0100 Subject: [PATCH] [beta] bump tailwind to v3 and update config (#4366) * [beta] bump tailwind to v3 and update config * fix widget wrong position * fix content tailwind config --- beta/package.json | 6 +- .../src/components/Layout/Sidebar/Sidebar.tsx | 4 +- .../components/MDX/Challenges/Navigation.tsx | 2 +- beta/src/components/MDX/HomepageHero.tsx | 2 +- .../components/MDX/Sandpack/NavigationBar.tsx | 2 +- beta/src/components/MDX/Sandpack/index.tsx | 2 +- beta/src/components/Search.tsx | 2 +- beta/src/styles/algolia.css | 2 +- beta/src/styles/index.css | 2 +- beta/tailwind.config.js | 16 +- beta/yarn.lock | 232 ++++-------------- 11 files changed, 57 insertions(+), 215 deletions(-) diff --git a/beta/package.json b/beta/package.json index 84bfad19..22c2d77f 100644 --- a/beta/package.json +++ b/beta/package.json @@ -53,7 +53,7 @@ "@typescript-eslint/eslint-plugin": "2.x", "@typescript-eslint/parser": "2.x", "asyncro": "^3.0.0", - "autoprefixer": "^10.3.1", + "autoprefixer": "^10.4.2", "babel-eslint": "10.x", "eslint": "7.x", "eslint-config-next": "12.0.3", @@ -72,7 +72,7 @@ "mdast-util-to-string": "^1.1.0", "npm-run-all": "^4.1.5", "patch-package": "^6.2.2", - "postcss": "^8.3.6", + "postcss": "^8.4.5", "postcss-flexbugs-fixes": "4.2.1", "postcss-preset-env": "^6.7.0", "prettier": "^2.5.1", @@ -86,7 +86,7 @@ "retext": "^7.0.1", "retext-smartypants": "^4.0.0", "rss": "^1.2.2", - "tailwindcss": "^2.2.7", + "tailwindcss": "^3.0.22", "typescript": "^4.0.2", "unist-util-visit": "^2.0.3", "webpack-bundle-analyzer": "^4.5.0" diff --git a/beta/src/components/Layout/Sidebar/Sidebar.tsx b/beta/src/components/Layout/Sidebar/Sidebar.tsx index a1295dc5..b208ebbd 100644 --- a/beta/src/components/Layout/Sidebar/Sidebar.tsx +++ b/beta/src/components/Layout/Sidebar/Sidebar.tsx @@ -28,7 +28,7 @@ export function Sidebar({isMobileOnly}: {isMobileOnly?: boolean}) { return (