From aeba3d3785790c75d62511c95786e58df4979809 Mon Sep 17 00:00:00 2001 From: qiqi Date: Thu, 3 Dec 2026 01:08:41 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20v3.26.229=EF=BC=88=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=89=88=EF=BC=9A=E5=9B=BE=E5=BA=93=E4=B8=8B=E8=BD=BD=E5=9C=86?= =?UTF-8?q?=E9=92=AE=E5=AF=B9=E9=BD=90=E8=BE=93=E5=87=BA=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 +++++ package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- style.css | 7 +++++++ 6 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 102aad1..585eb15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,11 @@ - 历史条目补录:该 tag 当时未在 CHANGELOG 记录(release-records 守卫要求 tag 与条目双向一致),内容按当时提交补一句占位说明。 +## v3.26.229(2026-12-03)图库下载圆钮对齐输出面板 + +- 图库卡片的下载按钮改到右下角圆形图标(26px),与输出节点一致;修宿主旧规则把按钮居中在底部的问题。 +- 只改宿主 CSS(body .iwb-history-embedded 作用域覆盖),不动插件产物、不改类名、不动 z-index/token。 + ## v3.26.228(2026-12-03)输出节点下载圆钮 - 输出节点结果图的下载浮层从底部横条改为右下角圆形图标:只占一个角,矮图不再被横条挡住中心。 diff --git a/package.json b/package.json index 2d860e2..4843354 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "image-workbench-web", "private": true, - "version": "3.26.228", + "version": "3.26.229", "description": "Browser-based node canvas image workbench", "scripts": { "build": "node scripts/build.js && node scripts/copy-plugins.js", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 3f2f5f3..1b3aeb7 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -2014,7 +2014,7 @@ dependencies = [ [[package]] name = "image-workbench" -version = "3.26.228" +version = "3.26.229" dependencies = [ "arboard", "base64 0.22.1", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 0698d78..67d5c18 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "image-workbench" -version = "3.26.228" +version = "3.26.229" description = "无限画布 · 生图工作台桌面版" authors = ["malongan"] license = "" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index d30aab9..fcd0117 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "image-workbench", - "version": "3.26.228", + "version": "3.26.229", "identifier": "com.malongan.imageworkbench", "build": { "frontendDist": "../dist", diff --git a/style.css b/style.css index d65ef80..d19b0cd 100644 --- a/style.css +++ b/style.css @@ -334,6 +334,13 @@ button { font-family: inherit; } .iwb-history-actions { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; gap: var(--iwb-space-4); justify-content: center; opacity: 0; transition: opacity .15s; } .iwb-history-item:hover .iwb-history-actions { opacity: 1; } .iwb-history-actions .iwb-btn { font-size: var(--iwb-font-2xs); padding: 1px 5px; background: var(--iwb-panel); text-decoration: none; } /*iwb:raw-until=3.28.0*/ +/* 2026-12-03:图库卡片的下载按钮与输出节点统一为「右下角圆形图标」。 + 旧宿主规则 .iwb-history-actions 是「整条铺满 + 居中」,插件产物沿用了这个类名 ⇒ 按钮被居中。 + 这里用 body .iwb-history-embedded 提高优先级覆盖,只作用于图库面板,不动旧历史面板。 */ +body .iwb-history-embedded .iwb-history-actions { left: auto; right: var(--iwb-space-8); bottom: var(--iwb-space-8); justify-content: flex-end; padding: 0; background-image: none; gap: var(--iwb-space-4); } +body .iwb-history-embedded .iwb-history-actions .iwb-gal-dl { width: 26px; height: 26px; border-radius: var(--iwb-radius-full); border: 1px solid var(--iwb-border2); background: var(--iwb-panel); color: var(--iwb-brand-text, var(--iwb-text)); display: grid; place-items: center; padding: 0; font-size: var(--iwb-font-base); line-height: 1; cursor: pointer; } +body .iwb-history-embedded .iwb-history-actions .iwb-gal-dl:hover { background: var(--iwb-hover); } + .iwb-modal-sm { width: 460px; } .iwb-pickrow { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; cursor: pointer; font-size: 12px; } .iwb-picktext { color: var(--iwb-text); line-height: 1.4; word-break: break-all; }