Skip to content

Commit 546e7c2

Browse files
authored
Fix unknown @tailwind warning in CSS in Vscode
Fix unknown @tailwind warning in CSS in Vscode
2 parents 253a913 + 342baa7 commit 546e7c2

File tree

5 files changed

+63
-30
lines changed

5 files changed

+63
-30
lines changed

.vscode/css_custom_data.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"atDirectives": [
3+
{
4+
"name": "@tailwind",
5+
"description": "Use the @tailwind directive to insert Tailwind’s `base`, `components`, `utilities`, and `screens` styles into your CSS.",
6+
"references": [
7+
{
8+
"name": "Tailwind’s “Functions & Directives” documentation",
9+
"url": "https://tailwindcss.com/docs/functions-and-directives/#tailwind"
10+
}
11+
]
12+
}
13+
]
14+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"css.customData": [".vscode/css_custom_data.json"]
3+
}

package-lock.json

Lines changed: 42 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs-woocommerce",
3-
"version": "0.9.96",
3+
"version": "1.0.0",
44
"description": "Nextjs WooCommerce webshop",
55
"main": "index.js",
66
"scripts": {
@@ -12,16 +12,16 @@
1212
"author": "",
1313
"license": "ISC",
1414
"dependencies": {
15-
"@apollo/client": "^3.2.0",
16-
"@types/react": "^16.9.49",
15+
"@apollo/client": "^3.2.2",
16+
"@types/react": "^16.9.50",
1717
"algoliasearch": "^4.5.1",
1818
"graphql": "^15.3.0",
1919
"next": "^9.5.3",
2020
"node-fetch": "^2.6.1",
2121
"nprogress": "^0.2.0",
2222
"react": "^16.13.1",
2323
"react-dom": "^16.13.1",
24-
"react-hook-form": "^6.8.4",
24+
"react-hook-form": "^6.9.0",
2525
"react-instantsearch-dom": "^6.7.0",
2626
"react-spring": "^8.0.27",
2727
"styled-components": "^5.2.0",

styles/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
}
4242

4343
/* Fix for annoying CSS bug with NavBar moving slightly on front page only */
44-
/*@media only screen and (min-width: 769px) {*/
4544

4645
@media only screen and (min-width: 1600px) {
4746
#navbar-div {

0 commit comments

Comments
 (0)