From 07d7f45071aba55c6d2e41231585e7774f3ca726 Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Tue, 13 Jun 2023 00:42:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/push.yml | 6 ++---- src/components/ConnectionTable.module.scss | 7 +++---- src/components/proxies/ProxyLatency.module.scss | 2 +- src/components/proxies/ProxyProvider.tsx | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 73a02df4f..1f790b06b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -17,14 +17,12 @@ jobs: node-version: '18.x' cache: pnpm - name: Install package and build - run: | - pnpm install --no-frozen-lockfile - pnpm build + run: npm install -g pnpm && pnpm i && pnpm build - name: Deploy uses: crazy-max/ghaction-github-pages@v2 with: target_branch: gh-pages build_dir: public - fqdn: yacd.metacubex.one + fqdn: http://yacd.alfakyun.tech env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/src/components/ConnectionTable.module.scss b/src/components/ConnectionTable.module.scss index 1f1a48caa..10f56e9bf 100644 --- a/src/components/ConnectionTable.module.scss +++ b/src/components/ConnectionTable.module.scss @@ -26,18 +26,17 @@ } .break { + /* 上边下边 | 左边右边 */ + max-width: 13em; + min-width: 9em; word-wrap: break-word; word-break: break-all; - align-items: center; - text-align: left; } .td { /* 上边下边 | 左边右边 */ padding: 10px 5px; font-size: 0.9em; - // max-width: 14em; - min-width: 9em; cursor: default; text-align: left; vertical-align: middle; diff --git a/src/components/proxies/ProxyLatency.module.scss b/src/components/proxies/ProxyLatency.module.scss index 37502a89f..165a1f946 100644 --- a/src/components/proxies/ProxyLatency.module.scss +++ b/src/components/proxies/ProxyLatency.module.scss @@ -5,6 +5,6 @@ color: #eee; font-size: 0.75em; @media (--breakpoint-not-small) { - font-size: 0.8em; + font-size: 1em; } } diff --git a/src/components/proxies/ProxyProvider.tsx b/src/components/proxies/ProxyProvider.tsx index 99d3b3a4a..32ed91b7b 100644 --- a/src/components/proxies/ProxyProvider.tsx +++ b/src/components/proxies/ProxyProvider.tsx @@ -101,7 +101,7 @@ function ProxyProviderImpl({ display: 'flex', alignItems: 'center', flexWrap: 'wrap', - justifyContent: 'space-between', + justifyContent: 'start', }} >