From 660d8ffe51b2a75ebc1476982581e92fb6deedfa Mon Sep 17 00:00:00 2001 From: smallclover <18363998103@163.com> Date: Wed, 8 Oct 2025 21:31:36 +0900 Subject: [PATCH 1/2] =?UTF-8?q?https://github.com/nagisa77/OpenIsle/issues?= =?UTF-8?q?/843=20=E5=AF=B9=E9=BD=90=E6=96=B9=E5=BC=8F=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend_nuxt/pages/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend_nuxt/pages/index.vue b/frontend_nuxt/pages/index.vue index 0b4b69de6..e49c0d387 100644 --- a/frontend_nuxt/pages/index.vue +++ b/frontend_nuxt/pages/index.vue @@ -537,16 +537,22 @@ watch([selectedCategory, selectedTags], ([newCategory, newTags]) => { .article-comments, .header-item.comments { width: 5%; + justify-content: flex-end; + text-align: right; } .article-views, .header-item.views { width: 5%; + justify-content: flex-end; + text-align: right; } .article-time, .header-item.activity { width: 10%; + justify-content: flex-end; + text-align: left; } .article-item-title { From a15065575d1c900a41b12380df4a1288c989dcab Mon Sep 17 00:00:00 2001 From: smallclover <18363998103@163.com> Date: Thu, 9 Oct 2025 21:40:28 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=97=AE=E9=A2=98=20http?= =?UTF-8?q?s://github.com/nagisa77/OpenIsle/issues/1057=20=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=8E=9F=E5=9B=A0:=E8=A1=8C=E5=8F=B7=E7=9A=84css?= =?UTF-8?q?=E9=99=90=E5=88=B6=E5=AE=BD=E5=BA=A6=EF=BC=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E8=A1=8C=E6=95=B0=E8=B6=85=E8=BF=8799=E9=94=99=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend_nuxt/assets/global.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend_nuxt/assets/global.css b/frontend_nuxt/assets/global.css index fb12189e0..22c95c8a8 100644 --- a/frontend_nuxt/assets/global.css +++ b/frontend_nuxt/assets/global.css @@ -179,7 +179,9 @@ body { .info-content-text pre .line-numbers { counter-reset: line-number 0; - width: 2em; + white-space: nowrap; /* 禁止数字换行 */ + font-variant-numeric: tabular-nums; /* 数字等宽 */ + /* width: 2em; */ font-size: 13px; position: sticky; flex-shrink: 0;