1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-20 01:09:35 +05:30

(refactor/fixed): updated featured projects fething method and fixed no-scollbar tailwind class missing in production

This commit is contained in:
2024-08-01 23:41:25 +05:30
parent a6fa2a96e7
commit 9d4cbfa040
6 changed files with 34 additions and 55 deletions

View File

@@ -1,4 +1,7 @@
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin')
module.exports = {
content: ["./htdocs/**/*.{php,html,js}"],
theme: {
@@ -26,6 +29,18 @@ module.exports = {
},
},
},
plugins: [],
plugins: [
plugin(function({ addUtilities }) {
addUtilities({
'.no-scrollbar::-webkit-scrollbar': {
'display': 'none',
},
'.no-scrollbar': {
'-ms-overflow-style': 'none',
'scrollbar-width': 'none',
}
})
})
],
}