Skip to content

Commit

Permalink
Updated tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidit-Kushwaha committed Jun 23, 2024
1 parent 76a1d33 commit 20d5448
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 4 deletions.
61 changes: 61 additions & 0 deletions playground/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.4",
"typescript": "^5.2.2",
"vite": "^5.2.0"
Expand Down
6 changes: 6 additions & 0 deletions playground/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
4 changes: 2 additions & 2 deletions playground/src/components/Popup/InstallPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const InstallPopup = () => {
closeButton={true}
onClose={onClose}
open={false}
backdropClassName="bg-opacity-50 fixed inset-0"
popupClassName="bg-white rounded-lg shadow-xl p-4 !mx-10"
backdropClassName="bg-opacity-50"
popupClassName="bg-white rounded-lg shadow-xl p-4 !mx-10 z-50"
>
<div className="h-15 w-15">
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
Expand Down
9 changes: 7 additions & 2 deletions playground/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,js}"],
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./src/componets/**/*.{js,ts,jsx,tsx}",
"./src/componets/popup/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
}

0 comments on commit 20d5448

Please sign in to comment.