From 92910daac5ee592dd24f7f31ae52244b8962d39f Mon Sep 17 00:00:00 2001 From: fishcpy Date: Tue, 24 Mar 2026 21:50:01 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0umami=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/config.mts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 66fe7ba..3f8b6bc 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -41,6 +41,14 @@ export default defineConfig({ head: [ ['link', { rel: 'icon', href: '/img/logo.ico' }], ['meta', { name: 'theme-color', content: '#0066CC' }], + [ + 'script', + { + defer: '', + src: 'https://um.fis.ink/script.js', + 'data-website-id': '4e7333ce-6a82-408f-9ed5-bd0d0784cb5b', + }, + ], // SEO 基础标签 ['meta', { name: 'author', content: 'PCL Community' }], ['meta', { name: 'keywords', content: DEFAULT_KEYWORDS }], From 87efa7b53513b722336215b013419474b34dee4f Mon Sep 17 00:00:00 2001 From: fishcpy Date: Tue, 24 Mar 2026 21:54:11 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=B8=8B=E8=BD=BD=E9=A1=B5=E9=9D=A2=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=A1=86=E5=9C=A8=E5=B1=8F=E5=B9=95=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=E5=B0=8F=E7=9A=84=E8=AE=BE=E5=A4=87=E4=B8=8A=E6=97=B6=E4=BC=9A?= =?UTF-8?q?=E8=B6=85=E5=87=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../theme/components/HistoryReleases.vue | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.vitepress/theme/components/HistoryReleases.vue b/.vitepress/theme/components/HistoryReleases.vue index c5f8e9a..750f991 100644 --- a/.vitepress/theme/components/HistoryReleases.vue +++ b/.vitepress/theme/components/HistoryReleases.vue @@ -270,6 +270,8 @@ const releaseHtml = computed(() => { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem 3rem; + width: 100%; + box-sizing: border-box; } .history-header { @@ -353,12 +355,14 @@ const releaseHtml = computed(() => { position: relative; flex: 1; min-width: 220px; + min-width: 0; } .history-select { width: 100%; flex: 1; min-width: 220px; + min-width: 0; padding: 0.55rem 0.9rem; border-radius: 10px; border: 1px solid rgba(2, 102, 193, 0.4); @@ -390,6 +394,10 @@ const releaseHtml = computed(() => { display: inline-flex; align-items: center; gap: 0.5rem; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .history-select-arrow { @@ -428,6 +436,7 @@ const releaseHtml = computed(() => { gap: 0.75rem; text-align: left; cursor: pointer; + min-width: 0; } .history-select-option:hover { @@ -436,6 +445,8 @@ const releaseHtml = computed(() => { .history-select-title { font-weight: 600; + min-width: 0; + overflow-wrap: anywhere; } .history-changelog { @@ -464,6 +475,8 @@ const releaseHtml = computed(() => { margin: 0 0 0.5rem; line-height: 1.55; color: inherit; + overflow-wrap: anywhere; + word-break: break-word; } .history-changelog-body :deep(p) { @@ -508,6 +521,8 @@ const releaseHtml = computed(() => { padding: 0.6rem 0.8rem; border-radius: 10px; background: rgba(255, 255, 255, 0.08); + overflow-x: auto; + max-width: 100%; } .history-changelog-body :deep(hr) { @@ -619,5 +634,14 @@ const releaseHtml = computed(() => { .history-header h1 { font-size: 1.6rem; } + + .history-selector { + flex-direction: column; + align-items: stretch; + } + + .history-label { + width: 100%; + } } From 5c0a9356f698437d099d5d284cd451b100bf83a6 Mon Sep 17 00:00:00 2001 From: fishcpy Date: Tue, 24 Mar 2026 21:56:25 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E9=A1=B5?= =?UTF-8?q?=E8=84=9A=E9=83=A8=E5=88=86=E6=96=87=E5=AD=97=E5=9C=A8=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E4=B8=8D=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/theme/components/SiteFooter.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.vitepress/theme/components/SiteFooter.vue b/.vitepress/theme/components/SiteFooter.vue index 4b2d501..c1ec208 100644 --- a/.vitepress/theme/components/SiteFooter.vue +++ b/.vitepress/theme/components/SiteFooter.vue @@ -154,6 +154,10 @@ onMounted(() => (currentYear.value = new Date().getFullYear().toString())); max-width: 65%; } +.list-container section { + text-align: center; +} + .list-title { margin-bottom: 0.5em; font-weight: 600; @@ -162,6 +166,9 @@ onMounted(() => (currentYear.value = new Date().getFullYear().toString())); } .list-links { + list-style: none; + padding: 0; + margin: 0; font-weight: 500; font-size: 0.75em; line-height: 2.4; From 1b5cf2fec2bc9a0a297a9cbc8338fc9a7bca9ee0 Mon Sep 17 00:00:00 2001 From: fishcpy Date: Tue, 24 Mar 2026 22:01:18 +0800 Subject: [PATCH 4/4] =?UTF-8?q?feat:=E8=8F=9C=E5=8D=95=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/theme/style.css | 54 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index 811ba2e..917e23b 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -148,6 +148,60 @@ a:focus-visible { border-bottom: none; } +.VPNavBarMenu { + justify-content: center; +} + +.VPNavBarMenu .VPNavBarMenuLink, +.VPNavBarMenu .VPNavBarMenuGroup { + justify-content: center; +} + +.VPNavScreenMenuLink, +.VPNavScreenMenuGroup { + text-align: center; + justify-content: center; +} + +.VPNavBarExtra .VPNavBarMenuGroup, +.VPNavBarExtra .VPNavBarMenuGroup .button, +.VPNavBarExtra .VPNavBarMenuGroup .text { + text-align: center; + justify-content: center; +} + +.VPNavScreenMenuGroup .button, +.VPNavScreenMenuGroup .button .text { + text-align: center; + justify-content: center; + width: 100%; +} + +.VPNavScreenTranslations { + text-align: center; +} + +.VPNavScreenTranslations .title { + justify-content: center; + width: 100%; +} + +.VPNavScreenTranslations .list { + padding: 4px 0 0 0; + text-align: center; +} + +.VPNavScreenTranslations .item { + display: flex; + justify-content: center; +} + +.VPNavScreenTranslations .link { + display: inline-flex; + justify-content: center; + width: 100%; +} + .divider { display: none; }