fix some tailwind style not work

This commit is contained in:
sijie.sun
2025-03-16 11:07:35 +08:00
committed by Sijie.Sun
parent 74c716ccaa
commit f84ae228fc
10 changed files with 32 additions and 42 deletions

View File

@@ -8,7 +8,7 @@
[简体中文](/README_CN.md) | [English](/README.md) [简体中文](/README_CN.md) | [English](/README.md)
**Please visit the [EasyTier Official Website](https://www.easytier.top/en/) to view the full documentation.** **Please visit the [EasyTier Official Website](https://easytier.cn/en/) to view the full documentation.**
EasyTier is a simple, safe and decentralized VPN networking solution implemented with the Rust language and Tokio framework. EasyTier is a simple, safe and decentralized VPN networking solution implemented with the Rust language and Tokio framework.
@@ -53,7 +53,7 @@ EasyTier is a simple, safe and decentralized VPN networking solution implemented
4. **Install by Docker Compose** 4. **Install by Docker Compose**
Please visit the [EasyTier Official Website](https://www.easytier.cn/en/) to view the full documentation. Please visit the [EasyTier Official Website](https://easytier.cn/en/) to view the full documentation.
5. **Install by script (For Linux Only)** 5. **Install by script (For Linux Only)**

View File

@@ -8,7 +8,7 @@
[简体中文](/README_CN.md) | [English](/README.md) [简体中文](/README_CN.md) | [English](/README.md)
**请访问 [EasyTier 官网](https://www.easytier.cn/) 以查看完整的文档。** **请访问 [EasyTier 官网](https://easytier.cn/) 以查看完整的文档。**
一个简单、安全、去中心化的内网穿透 VPN 组网方案,使用 Rust 语言和 Tokio 框架实现。 一个简单、安全、去中心化的内网穿透 VPN 组网方案,使用 Rust 语言和 Tokio 框架实现。
@@ -53,7 +53,7 @@
4. **通过Docker Compose安装** 4. **通过Docker Compose安装**
请访问 [EasyTier 官网](https://www.easytier.cn/) 以查看完整的文档。 请访问 [EasyTier 官网](https://easytier.cn/) 以查看完整的文档。
5. **使用一键脚本安装 (仅适用于 Linux)** 5. **使用一键脚本安装 (仅适用于 Linux)**

View File

@@ -46,7 +46,7 @@
"eslint": "^9.12.0", "eslint": "^9.12.0",
"eslint-plugin-format": "^0.1.2", "eslint-plugin-format": "^0.1.2",
"postcss": "^8.4.47", "postcss": "^8.4.47",
"tailwindcss": "^3.4.13", "tailwindcss": "=3.4.17",
"typescript": "^5.6.2", "typescript": "^5.6.2",
"unplugin-auto-import": "^0.18.3", "unplugin-auto-import": "^0.18.3",
"unplugin-vue-components": "^0.27.4", "unplugin-vue-components": "^0.27.4",

View File

@@ -50,8 +50,8 @@ async function main() {
darkModeSelector: 'system', darkModeSelector: 'system',
cssLayer: { cssLayer: {
name: 'primevue', name: 'primevue',
order: 'tailwind-base, primevue, tailwind-utilities' order: 'tailwind-base, primevue, tailwind-utilities',
} },
}, },
}, },
}) })

View File

@@ -40,7 +40,7 @@
"postcss": "^8.4.47", "postcss": "^8.4.47",
"postcss-import": "^16.1.0", "postcss-import": "^16.1.0",
"postcss-nested": "^7.0.2", "postcss-nested": "^7.0.2",
"tailwindcss": "^3.4.14", "tailwindcss": "=3.4.17",
"typescript": "~5.6.3", "typescript": "~5.6.3",
"vite": "^5.4.10", "vite": "^5.4.10",
"vite-plugin-dts": "^4.3.0", "vite-plugin-dts": "^4.3.0",

View File

@@ -303,9 +303,9 @@ function showEventLogs() {
<template> <template>
<div class="frontend-lib"> <div class="frontend-lib">
<Dialog v-model:visible="dialogVisible" modal :header="t(dialogHeader)" class="w-2/3 h-auto max-w-full" <Dialog v-model:visible="dialogVisible" modal :header="t(dialogHeader)" class="w-2/3 h-auto max-h-full"
:baseZIndex="2000"> :baseZIndex="2000">
<ScrollPanel v-if="dialogHeader === 'vpn_portal_config'"> <ScrollPanel v-if="dialogHeader === 'vpn_portal_config'" class="w-2/3">
<pre>{{ dialogContent }}</pre> <pre>{{ dialogContent }}</pre>
</ScrollPanel> </ScrollPanel>
<Timeline v-else :value="dialogContent"> <Timeline v-else :value="dialogContent">

View File

@@ -1,8 +1,6 @@
@import 'primeicons/primeicons.css'; @import 'primeicons/primeicons.css';
@import 'floating-vue/dist/style.css'; @import 'floating-vue/dist/style.css';
.frontend-lib {
@layer tailwind-base, primevue, tailwind-utilities; @layer tailwind-base, primevue, tailwind-utilities;
@layer tailwind-base { @layer tailwind-base {
@@ -51,8 +49,6 @@
background-color: #0000005d; background-color: #0000005d;
} }
}
.v-popper__inner { .v-popper__inner {
white-space: pre-wrap; white-space: pre-wrap;
} }

View File

@@ -23,7 +23,7 @@
"@vitejs/plugin-vue": "^5.1.4", "@vitejs/plugin-vue": "^5.1.4",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"postcss": "^8.4.47", "postcss": "^8.4.47",
"tailwindcss": "^3.4.14", "tailwindcss": "=3.4.17",
"typescript": "~5.6.2", "typescript": "~5.6.2",
"vite": "^5.4.10", "vite": "^5.4.10",
"vite-plugin-singlefile": "^2.0.3", "vite-plugin-singlefile": "^2.0.3",

View File

@@ -1,6 +1,6 @@
import { createApp } from 'vue' import { createApp } from 'vue'
import './style.css'
import 'easytier-frontend-lib/style.css' import 'easytier-frontend-lib/style.css'
import './style.css'
import App from './App.vue' import App from './App.vue'
import EasytierFrontendLib from 'easytier-frontend-lib' import EasytierFrontendLib from 'easytier-frontend-lib'
import PrimeVue from 'primevue/config' import PrimeVue from 'primevue/config'

42
pnpm-lock.yaml generated
View File

@@ -103,8 +103,8 @@ importers:
specifier: ^8.4.47 specifier: ^8.4.47
version: 8.4.47 version: 8.4.47
tailwindcss: tailwindcss:
specifier: ^3.4.13 specifier: '=3.4.17'
version: 3.4.14 version: 3.4.17
typescript: typescript:
specifier: ^5.6.2 specifier: ^5.6.2
version: 5.6.3 version: 5.6.3
@@ -161,7 +161,7 @@ importers:
version: 4.2.1(vue@3.5.12(typescript@5.6.3)) version: 4.2.1(vue@3.5.12(typescript@5.6.3))
tailwindcss-primeui: tailwindcss-primeui:
specifier: ^0.3.4 specifier: ^0.3.4
version: 0.3.4(tailwindcss@3.4.14) version: 0.3.4(tailwindcss@3.4.17)
vue: vue:
specifier: ^3.5.12 specifier: ^3.5.12
version: 3.5.12(typescript@5.6.3) version: 3.5.12(typescript@5.6.3)
@@ -182,8 +182,8 @@ importers:
specifier: ^8.4.47 specifier: ^8.4.47
version: 8.4.47 version: 8.4.47
tailwindcss: tailwindcss:
specifier: ^3.4.14 specifier: '=3.4.17'
version: 3.4.14 version: 3.4.17
typescript: typescript:
specifier: ~5.6.2 specifier: ~5.6.2
version: 5.6.3 version: 5.6.3
@@ -225,7 +225,7 @@ importers:
version: 4.2.1(vue@3.5.12(typescript@5.6.3)) version: 4.2.1(vue@3.5.12(typescript@5.6.3))
tailwindcss-primeui: tailwindcss-primeui:
specifier: ^0.3.4 specifier: ^0.3.4
version: 0.3.4(tailwindcss@3.4.14) version: 0.3.4(tailwindcss@3.4.17)
ts-md5: ts-md5:
specifier: ^1.3.1 specifier: ^1.3.1
version: 1.3.1 version: 1.3.1
@@ -261,8 +261,8 @@ importers:
specifier: ^7.0.2 specifier: ^7.0.2
version: 7.0.2(postcss@8.4.47) version: 7.0.2(postcss@8.4.47)
tailwindcss: tailwindcss:
specifier: ^3.4.14 specifier: '=3.4.17'
version: 3.4.14 version: 3.4.17
typescript: typescript:
specifier: ~5.6.3 specifier: ~5.6.3
version: 5.6.3 version: 5.6.3
@@ -2699,12 +2699,8 @@ packages:
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
engines: {node: '>= 0.8.0'} engines: {node: '>= 0.8.0'}
lilconfig@2.1.0: lilconfig@3.1.3:
resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
engines: {node: '>=10'}
lilconfig@3.1.2:
resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==}
engines: {node: '>=14'} engines: {node: '>=14'}
lines-and-columns@1.2.4: lines-and-columns@1.2.4:
@@ -3443,8 +3439,8 @@ packages:
peerDependencies: peerDependencies:
tailwindcss: '>=3.1.0' tailwindcss: '>=3.1.0'
tailwindcss@3.4.14: tailwindcss@3.4.17:
resolution: {integrity: sha512-IcSvOcTRcUtQQ7ILQL5quRDg7Xs93PdJEk1ZLbhhvJc7uj/OAhYOnruEiwnGgBvUtaUAJ8/mhSw1o8L2jCiENA==} resolution: {integrity: sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==}
engines: {node: '>=14.0.0'} engines: {node: '>=14.0.0'}
hasBin: true hasBin: true
@@ -6445,9 +6441,7 @@ snapshots:
prelude-ls: 1.2.1 prelude-ls: 1.2.1
type-check: 0.4.0 type-check: 0.4.0
lilconfig@2.1.0: {} lilconfig@3.1.3: {}
lilconfig@3.1.2: {}
lines-and-columns@1.2.4: {} lines-and-columns@1.2.4: {}
@@ -7029,7 +7023,7 @@ snapshots:
postcss-load-config@4.0.2(postcss@8.4.47): postcss-load-config@4.0.2(postcss@8.4.47):
dependencies: dependencies:
lilconfig: 3.1.2 lilconfig: 3.1.3
yaml: 2.6.0 yaml: 2.6.0
optionalDependencies: optionalDependencies:
postcss: 8.4.47 postcss: 8.4.47
@@ -7324,11 +7318,11 @@ snapshots:
'@pkgr/core': 0.1.1 '@pkgr/core': 0.1.1
tslib: 2.8.1 tslib: 2.8.1
tailwindcss-primeui@0.3.4(tailwindcss@3.4.14): tailwindcss-primeui@0.3.4(tailwindcss@3.4.17):
dependencies: dependencies:
tailwindcss: 3.4.14 tailwindcss: 3.4.17
tailwindcss@3.4.14: tailwindcss@3.4.17:
dependencies: dependencies:
'@alloc/quick-lru': 5.2.0 '@alloc/quick-lru': 5.2.0
arg: 5.0.2 arg: 5.0.2
@@ -7339,7 +7333,7 @@ snapshots:
glob-parent: 6.0.2 glob-parent: 6.0.2
is-glob: 4.0.3 is-glob: 4.0.3
jiti: 1.21.6 jiti: 1.21.6
lilconfig: 2.1.0 lilconfig: 3.1.3
micromatch: 4.0.8 micromatch: 4.0.8
normalize-path: 3.0.0 normalize-path: 3.0.0
object-hash: 3.0.0 object-hash: 3.0.0