{{ modeConfig.title }}
-
+
mdi-close
@@ -160,20 +291,19 @@ const _show = computed({
v-if="repoUrl"
color="primary"
prepend-icon="mdi-github"
- @click="openRepoInNewTab()"
+ @click="openExternalLink(repoUrl)"
>
{{ t("core.common.readme.buttons.viewOnGithub") }}
{{ t("core.common.readme.buttons.refresh") }}
-
{{ modeConfig.loading }}
-
-
-
-
+
-
-
-
+
{{ t("core.common.close") }}
@@ -246,8 +368,9 @@ const _show = computed({
-
-
+:deep(.markdown-body details) {
+ margin-bottom: 16px;
+ border: 1px solid var(--v-theme-border);
+ border-radius: 6px;
+ padding: 8px 12px;
+ background-color: var(--v-theme-surface);
+}
+
+:deep(.markdown-body details[open]) {
+ padding-bottom: 12px;
+}
+:deep(.markdown-body summary) {
+ cursor: pointer;
+ font-weight: 600;
+ padding: 4px 0;
+ list-style: none;
+ display: flex;
+ align-items: center;
+ gap: 6px;
+}
+
+:deep(.markdown-body summary::before) {
+ content: "▶";
+ font-size: 0.75em;
+ transition: transform 0.2s ease;
+}
+:deep(.markdown-body details[open] summary::before) {
+ transform: rotate(90deg);
+}
+:deep(.markdown-body summary::-webkit-details-marker) {
+ display: none;
+}
+:deep(.markdown-body details > *:not(summary)) {
+ margin-top: 12px;
+}
+
+:deep(.markdown-body .hljs-keyword),
+:deep(.markdown-body .hljs-selector-tag),
+:deep(.markdown-body .hljs-title),
+:deep(.markdown-body .hljs-section),
+:deep(.markdown-body .hljs-doctag),
+:deep(.markdown-body .hljs-name),
+:deep(.markdown-body .hljs-strong) {
+ font-weight: bold;
+}
+
diff --git a/dashboard/src/i18n/locales/en-US/core/common.json b/dashboard/src/i18n/locales/en-US/core/common.json
index a8c27bdc8..787c24669 100644
--- a/dashboard/src/i18n/locales/en-US/core/common.json
+++ b/dashboard/src/i18n/locales/en-US/core/common.json
@@ -3,6 +3,7 @@
"cancel": "Cancel",
"close": "Close",
"copy": "Copy",
+ "copied": "Copied",
"delete": "Delete",
"edit": "Edit",
"add": "Add",
diff --git a/dashboard/src/i18n/locales/zh-CN/core/common.json b/dashboard/src/i18n/locales/zh-CN/core/common.json
index 4e1712f40..658a93338 100644
--- a/dashboard/src/i18n/locales/zh-CN/core/common.json
+++ b/dashboard/src/i18n/locales/zh-CN/core/common.json
@@ -3,6 +3,7 @@
"cancel": "取消",
"close": "关闭",
"copy": "复制",
+ "copied": "已复制",
"delete": "删除",
"edit": "编辑",
"add": "添加",