Skip to content

Commit

Permalink
Merge pull request #5 from ethanniser/hover-css
Browse files Browse the repository at this point in the history
add plugin to disable css hover on mobile
  • Loading branch information
ethanniser authored Oct 18, 2024
2 parents 0d9eafb + 9217ca1 commit afb4be0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"eslint": "^8",
"eslint-config-next": "15.0.0-rc.1",
"postcss": "^8",
"postcss-hover-media-feature": "^1.0.2",
"prettier-plugin-tailwindcss": "^0.6.8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
Expand Down
17 changes: 17 additions & 0 deletions pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions postcss.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const config = {
plugins: {
tailwindcss: {},
"postcss-hover-media-feature": {},
},
};

Expand Down
1 change: 0 additions & 1 deletion src/components/search-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export function SearchDropdownComponent() {
useEffect(() => {
const search = async () => {
const results = await searchProducts(searchTerm);
console.log(results);
setFilteredItems(results);
};

Expand Down

0 comments on commit afb4be0

Please sign in to comment.