From 70803e5c76c89949b86e529ef94ee52c1000c8b0 Mon Sep 17 00:00:00 2001 From: lutc5 Date: Wed, 29 Apr 2026 22:02:36 +0800 Subject: [PATCH] fix: tighten request table rows --- .github/workflows/release.yml | 2 +- README.md | 4 ++-- README.zh-CN.md | 6 +++--- desktop/frontend/src/App.vue | 2 +- desktop/frontend/src/style.css | 17 ++++++++++++----- 5 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d544f45..b184637 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: workflow_dispatch: inputs: tag: - description: "Release tag, for example v1.2.1" + description: "Release tag, for example v1.2.2" required: true permissions: diff --git a/README.md b/README.md index e075a7a..9952463 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The project is designed for tools such as Claude Code, Cline, Continue, OpenCode ## Current Version -The current desktop line is `v1.2.1`. +The current desktop line is `v1.2.2`. Release builds are produced by GitHub Actions for: @@ -306,7 +306,7 @@ The desktop bundle name is always `Lingma IPC Proxy`. The release workflow is triggered by: -- pushing a tag such as `v1.2.1` +- pushing a tag such as `v1.2.2` - manually running the `Release` workflow with a tag input Planned improvements: diff --git a/README.zh-CN.md b/README.zh-CN.md index f139e3a..68328b4 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -11,7 +11,7 @@ ## 当前版本 -当前桌面端版本线:`v1.2.1` +当前桌面端版本线:`v1.2.2` GitHub Actions 会在 Release 中产出: @@ -415,8 +415,8 @@ Lingma IPC Proxy 发布方式: ```bash -git tag v1.2.1 -git push origin v1.2.1 +git tag v1.2.2 +git push origin v1.2.2 ``` 也可以在 GitHub Actions 页面手动运行 `Release` workflow,并输入 tag。 diff --git a/desktop/frontend/src/App.vue b/desktop/frontend/src/App.vue index a8ca9e3..6c18eb0 100644 --- a/desktop/frontend/src/App.vue +++ b/desktop/frontend/src/App.vue @@ -222,7 +222,7 @@ onUnmounted(() => {
{{ status.running ? 'Proxy Running' : 'Proxy Stopped' }} - v1.2.1 + v1.2.2
diff --git a/desktop/frontend/src/style.css b/desktop/frontend/src/style.css index 2865082..92ad1b1 100644 --- a/desktop/frontend/src/style.css +++ b/desktop/frontend/src/style.css @@ -834,10 +834,11 @@ button { .model-meta, .cell-sub { - margin-top: 3px; + margin-top: 1px; overflow: hidden; color: var(--muted); font-size: 12px; + line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; } @@ -877,7 +878,7 @@ button { .requests-panel .table-scroll { flex: 0 0 auto; - --request-row-height: 72px; + --request-row-height: 42px; --request-head-height: 43px; min-height: calc(var(--request-head-height) + var(--request-row-height)); max-height: calc(var(--request-head-height) + var(--request-row-height) * 5); @@ -914,6 +915,12 @@ button { vertical-align: middle; } +.data-table tbody td { + padding-top: 3px; + padding-bottom: 3px; + line-height: 1.12; +} + .data-table th { position: sticky; top: 0; @@ -966,10 +973,10 @@ button { .method-chip { display: inline-flex; align-items: center; - min-height: 24px; - padding: 0 8px; + min-height: 22px; + padding: 0 7px; border-radius: 7px; - font-size: 12px; + font-size: 11px; font-weight: 680; white-space: nowrap; }