-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
37 lines (33 loc) · 945 Bytes
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import plugin from "tailwindcss";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
// ".scrollbar-hide": {
// /* IE and Edge */
// "-ms-overflow-style": "none",
// /* Firefox */
// "scrollbar-width": "none",
// /* Safari and Chrome */
// "&::-webkit-scrollbar": {
// display: "none",
// },
// },
/* Hide scrollbar for Chrome, Safari and Opera */
".no-scrollbar::-webkit-scrollbar": {
display: "none",
},
/* Hide scrollbar for IE, Edge and Firefox */
".no-scrollbar": {
"-ms-overflow-style": "none" /* IE and Edge */,
"scrollbar-width": "none" /* Firefox */,
},
});
}),
],
};