From 0143e8f52a467126b2463346738da9f3e1fb6716 Mon Sep 17 00:00:00 2001 From: tiny-craft <137850705+tiny-craft@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:52:46 +0800 Subject: [PATCH] perf: cropped icon size --- .../src/components/content/ContentPane.vue | 52 ++++++++++++-- frontend/src/components/icons/Cluster.vue | 72 ++----------------- frontend/src/components/icons/Database.vue | 34 +-------- frontend/src/components/icons/Detail.vue | 65 ++++------------- frontend/src/components/icons/Log.vue | 37 +++------- frontend/src/components/icons/Monitor.vue | 40 +++++++++++ frontend/src/components/icons/Pub.vue | 46 ++++++++++++ frontend/src/components/icons/Server.vue | 48 +++---------- frontend/src/components/icons/Status.vue | 10 ++- frontend/src/components/icons/Terminal.vue | 36 +++------- frontend/src/consts/browser_tab_type.js | 2 + frontend/src/langs/en.json | 6 +- frontend/src/langs/zh-cn.json | 4 +- 13 files changed, 197 insertions(+), 255 deletions(-) create mode 100644 frontend/src/components/icons/Monitor.vue create mode 100644 frontend/src/components/icons/Pub.vue diff --git a/frontend/src/components/content/ContentPane.vue b/frontend/src/components/content/ContentPane.vue index 5432573..5815ffb 100644 --- a/frontend/src/components/content/ContentPane.vue +++ b/frontend/src/components/content/ContentPane.vue @@ -11,6 +11,8 @@ import Log from '@/components/icons/Log.vue' import Detail from '@/components/icons/Detail.vue' import ContentValueWrapper from '@/components/content_value/ContentValueWrapper.vue' import ContentCli from '@/components/content_value/ContentCli.vue' +import Monitor from '@/components/icons/Monitor.vue' +import Pub from '@/components/icons/Pub.vue' const themeVars = useThemeVars() @@ -106,7 +108,10 @@ watch(