summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarvan2 <[email protected]>2023-05-17 22:48:03 +0800
committerLarvan2 <[email protected]>2023-05-17 22:48:03 +0800
commitd199d5b882731b4f03ec64d72efbee1bd0ef17cb (patch)
tree5a9ae5a12078ef513ef577607d2a56707b214d7c
parentfea819eb5bb1ad9e63352b61a633fc63ed783248 (diff)
Revert "larvanz"
This reverts commit b75c36f26d2fa7ffcdae610659662e4a7c59a2e8.
-rw-r--r--.github/workflows/push.yml2
-rw-r--r--src/components/ConnectionTable.module.scss7
-rw-r--r--src/components/ConnectionTable.tsx6
-rw-r--r--src/components/proxies/ProxyLatency.module.scss2
4 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 0472c9c..73a02df 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -25,6 +25,6 @@ jobs:
with:
target_branch: gh-pages
build_dir: public
- fqdn: http://yacd.alfakyun.tech
+ fqdn: yacd.metacubex.one
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/src/components/ConnectionTable.module.scss b/src/components/ConnectionTable.module.scss
index 4db900e..d25eb7d 100644
--- a/src/components/ConnectionTable.module.scss
+++ b/src/components/ConnectionTable.module.scss
@@ -43,17 +43,18 @@
}
.break {
- /* 上边下边 | 左边右边 */
- max-width: 13em;
- min-width: 9em;
word-wrap: break-word;
word-break: break-all;
+ align-items: center;
+ text-align: left;
}
.td {
/* 上边下边 | 左边右边 */
padding: 10px 2px;
font-size: 0.9em;
+ // max-width: 14em;
+ min-width: 9em;
cursor: default;
align-items: center;
text-align: left;
diff --git a/src/components/ConnectionTable.tsx b/src/components/ConnectionTable.tsx
index e0c1c7f..6696fcd 100644
--- a/src/components/ConnectionTable.tsx
+++ b/src/components/ConnectionTable.tsx
@@ -104,9 +104,9 @@ function Table({ data }) {
{...cell.getCellProps()}
className={cx(
s.td,
- i % 2 == 0 ? s.odd : false,
- j == 0 || (j >= 5 && j < 10) ? s.center : true,
- j == 2 || j == 4 ? s.break : true
+ i % 2 === 0 ? s.odd : false,
+ j == 0 || (j >= 5 && j < 10) ? s.center : true
+ // j ==1 ? s.break : true
)}
>
{renderCell(cell, locale)}
diff --git a/src/components/proxies/ProxyLatency.module.scss b/src/components/proxies/ProxyLatency.module.scss
index 165a1f9..37502a8 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: 1em;
+ font-size: 0.8em;
}
}