From 77bb99b88cc3c9ce05f3381641ec77ca8b728cec Mon Sep 17 00:00:00 2001 From: Zephyruso <176294927+Zephyruso@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:14:11 +0800 Subject: [PATCH] fix: unify card style & pretty bytes --- src/components/connections/ConnectionCard.tsx | 4 +- .../connections/ConnectionTable.vue | 188 +++++++++--------- src/components/connections/TableSettings.vue | 4 +- src/components/proxies/ProxyGroup.vue | 4 +- src/components/proxies/ProxyProvider.vue | 8 +- src/components/rules/RuleCard.vue | 2 +- src/components/rules/RuleProvider.vue | 4 +- src/components/sidebar/CommonCtrl.vue | 2 +- src/components/sidebar/ConnectionCtrl.vue | 2 +- src/components/sidebar/SpeedCharts.vue | 1 - src/helper/index.ts | 2 +- src/views/ConnectionsPage.vue | 4 +- src/views/LogsPage.vue | 6 +- src/views/RulesPage.vue | 2 +- src/views/SettingsPage.vue | 6 +- 15 files changed, 119 insertions(+), 120 deletions(-) diff --git a/src/components/connections/ConnectionCard.tsx b/src/components/connections/ConnectionCard.tsx index 0428a7cb..04850e2a 100644 --- a/src/components/connections/ConnectionCard.tsx +++ b/src/components/connections/ConnectionCard.tsx @@ -115,7 +115,7 @@ export default defineComponent<{ if (isLargeScreen.value && compactConnectionCard.value) { return ( -
+
{host} {chians} {connectionCompact} @@ -128,7 +128,7 @@ export default defineComponent<{ ) } else { return ( -
+
{host} {flex1} diff --git a/src/components/connections/ConnectionTable.vue b/src/components/connections/ConnectionTable.vue index 1c10f7b0..645185fb 100644 --- a/src/components/connections/ConnectionTable.vue +++ b/src/components/connections/ConnectionTable.vue @@ -1,114 +1,112 @@