fix: tailwind touch plugin

This commit is contained in:
ner committed 2024-10-22 12:06:07 +03:00
1 parent 4b87bec823
commit dd90ede4cd
4 files changed
+19 -4

No files matched your search

@@ -104,7 +104,7 @@ const components: VirtuosoProps<Show, Context>['components'] = {
{...props}
ref={handleRef(ref, setScrollElement)}
className={cn('no-scrollbar h-full overflow-hidden rounded-lg', {
'snap-x snap-mandatory ': !isArrowHovered
'snap-x snap-mandatory': !isArrowHovered
})}
/>
)}
+14 -1
View File
@@ -47,7 +47,8 @@
"postcss": "^8.4.27",
"prettier": "^3.0.0",
"tailwind-merge": "^1.14.0",
"tailwindcss": "^3.3.3"
"tailwindcss": "^3.3.3",
"tailwindcss-touch": "^1.0.1"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -7249,6 +7250,12 @@
"node": ">=14.0.0"
}
},
"node_modules/tailwindcss-touch": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/tailwindcss-touch/-/tailwindcss-touch-1.0.1.tgz",
"integrity": "sha512-h8A/S9+Mk2rnnaOB/NGCE7CxDhtGKbsAWf8Y2tCO6Zf381Y8dKcygPl1OXkFDnWXkL+FfHxmrGpwculDWAumbA==",
"dev": true
},
"node_modules/tailwindcss/node_modules/postcss-js": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz",
@@ -12336,6 +12343,12 @@
}
}
},
"tailwindcss-touch": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/tailwindcss-touch/-/tailwindcss-touch-1.0.1.tgz",
"integrity": "sha512-h8A/S9+Mk2rnnaOB/NGCE7CxDhtGKbsAWf8Y2tCO6Zf381Y8dKcygPl1OXkFDnWXkL+FfHxmrGpwculDWAumbA==",
"dev": true
},
"tapable": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
+2 -1
View File
@@ -49,6 +49,7 @@
"postcss": "^8.4.27",
"prettier": "^3.0.0",
"tailwind-merge": "^1.14.0",
"tailwindcss": "^3.3.3"
"tailwindcss": "^3.3.3",
"tailwindcss-touch": "^1.0.1"
}
}
+2 -1
View File
@@ -86,5 +86,6 @@ module.exports = {
},
corePlugins: {
aspectRatio: false
}
},
plugins: [require('tailwindcss-touch')()]
};