diff options
| author | Larvan2 <[email protected]> | 2026-01-01 15:52:18 +0800 |
|---|---|---|
| committer | Larvan2 <[email protected]> | 2026-01-01 15:52:18 +0800 |
| commit | a547b3c8dc48791c4f767da0314d907eba543cc1 (patch) | |
| tree | 70a0d500147dcb972574e9a9641da956e033a963 /src/components/ConnectionTable.scss | |
| parent | 6768024fc9460f7f5a459de32de4cf771c75e19c (diff) | |
chore: adjust style
Diffstat (limited to 'src/components/ConnectionTable.scss')
| -rw-r--r-- | src/components/ConnectionTable.scss | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/components/ConnectionTable.scss b/src/components/ConnectionTable.scss index 41e3b97..1559fb5 100644 --- a/src/components/ConnectionTable.scss +++ b/src/components/ConnectionTable.scss @@ -1,5 +1,5 @@ .connections-table { - td.ctrl { + .ctrl { min-width: 3.5em; text-align: center; display: flex; @@ -21,7 +21,7 @@ } } - td.type { + .type { min-width: 8em; text-align: center; @@ -31,49 +31,49 @@ } } - td.start, - td.downloadSpeedCurr, - td.uploadSpeedCurr, - td.download, - td.upload { + .start, + .downloadSpeedCurr, + .uploadSpeedCurr, + .download, + .upload { min-width: 7em; text-align: center; font-variant-numeric: tabular-nums; } - td.downloadSpeedCurr, - td.download { + .downloadSpeedCurr, + .download { color: #27ae60; } - td.uploadSpeedCurr, - td.upload { + .uploadSpeedCurr, + .upload { color: #3498db; } // 进程列 - td.process { + .process { max-width: 12em; overflow: hidden; text-overflow: ellipsis; } // 域名/Host列 - td.host { + .host { max-width: 20em; overflow: hidden; text-overflow: ellipsis; } // 规则列 - td.rule { + .rule { max-width: 15em; overflow: hidden; text-overflow: ellipsis; } // 节点链 - td.chains { + .chains { // 不截断:完整展示节点链(必要时允许换行) max-width: none; overflow: visible; |
