From e226e84421dcefddc02be5f0ab8e293119307b49 Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Tue, 15 Aug 2023 04:41:40 +0800 Subject: [PATCH] upgrade deps --- .prettierrc.js | 2 +- assets/main.css | 14 +++++++++++++- package.json | 6 +++--- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.prettierrc.js b/.prettierrc.js index 1ec9f09..342bd14 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -2,5 +2,5 @@ module.exports = { singleQuote: true, // https://github.com/tailwindlabs/prettier-plugin-tailwindcss - plugins: [require('prettier-plugin-tailwindcss')], + plugins: ['prettier-plugin-tailwindcss'], }; diff --git a/assets/main.css b/assets/main.css index de4156c..3b57846 100644 --- a/assets/main.css +++ b/assets/main.css @@ -6,7 +6,7 @@ */ /* - ! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com + ! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com */ /* @@ -198,6 +198,10 @@ select, textarea { font-family: inherit; /* 1 */ + font-feature-settings: inherit; + /* 1 */ + font-variation-settings: inherit; + /* 1 */ font-size: 100%; /* 1 */ font-weight: inherit; @@ -348,6 +352,14 @@ menu { padding: 0; } +/* +Reset default styling for dialogs. +*/ + +dialog { + padding: 0; +} + /* Prevent resizing textareas horizontally by default. */ diff --git a/package.json b/package.json index 647f89e..bc29c1a 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "author": "nanxiaobei ", "license": "MIT", "scripts": { - "__FOR_DEV__": "please change all `192.168.0.102` to your local IP", + "__FOR_DEV__": "please change all `192.168.0.101` to your local IP", "dev:tailwind": "pnpm tailwindcss -i ./assets/app.css -o ./assets/main.css --watch", - "dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=192.168.0.102 --bind=192.168.0.102 --port=1313", - "dev:open": "open http://192.168.0.102:1313/", + "dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=192.168.0.101 --bind=192.168.0.101 --port=1313", + "dev:open": "open http://192.168.0.101:1313/", "build:go": "cp exampleSite/go.default.mod exampleSite/go.mod", "build:generate": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml", "dev": "killall hugo & pnpm dev:tailwind & pnpm dev:server & pnpm dev:open",