From 05c8370f0db6426b7df20d8015c72cdfe05462c0 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Sat, 8 Jun 2024 00:24:24 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E4=BC=98=E5=8C=96=E6=9A=97=E9=BB=91?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E6=A0=B7=E5=BC=8F=20(#5355)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles/element-dark.scss | 12 ++++++++++++ frontend/src/utils/xpack.ts | 1 + 2 files changed, 13 insertions(+) diff --git a/frontend/src/styles/element-dark.scss b/frontend/src/styles/element-dark.scss index 919ee00f5..4679507dc 100644 --- a/frontend/src/styles/element-dark.scss +++ b/frontend/src/styles/element-dark.scss @@ -271,6 +271,18 @@ html.dark { .el-descriptions__content.el-descriptions__cell.is-bordered-content { color: #999999; } + .el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell { + padding: 12px 15px; + background-color: transparent; + } + .el-descriptions__body { + background-color: transparent; + } + .el-descriptions__label { + color: var(--el-color-primary) !important; + margin-right: 16px; + } + .terminal-tabs { background: none !important; .el-tabs__header { diff --git a/frontend/src/utils/xpack.ts b/frontend/src/utils/xpack.ts index e5e94c56e..182bf2f9a 100644 --- a/frontend/src/utils/xpack.ts +++ b/frontend/src/utils/xpack.ts @@ -13,6 +13,7 @@ export function resetXSetting() { } export function initFavicon() { + document.title = globalStore.themeConfig.panelName; let favicon = globalStore.themeConfig.favicon; const link = (document.querySelector("link[rel*='icon']") || document.createElement('link')) as HTMLLinkElement; link.type = 'image/x-icon';