Skip to content

Commit e8c86c9

Browse files
committed
feat: modify tailwind config
1 parent f5ee345 commit e8c86c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tailwind.config.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/** @type {import('tailwindcss').Config} */
22
// eslint-disable-next-line no-undef
33
module.exports = {
4-
important: true,
4+
// important: '.tailwind', // you need to use tailwindcss in a .tailwind class
55
corePlugins: {
66
preflight: false,
7-
container: false,
7+
container: false, // conflicted with WordPress
88
},
99
content: ['./js/src/**/*.{js,ts,jsx,tsx}', './inc/**/*.php'],
1010
theme: {
@@ -38,7 +38,7 @@ module.exports = {
3838
direction: 'rtl',
3939
},
4040

41-
// 與 WordPress 衝突的 class
41+
// classes conflicted with WordPress
4242
'.tw-hidden': {
4343
display: 'none',
4444
},

0 commit comments

Comments
 (0)