fix(gallery 1.9.11): 恢复容器 class(定位样式挂在 .iwb-history-actions,改名导致圆钮掉出卡片)
validate / validate (push) Canceled after 0s

This commit is contained in:
qiqi committed 2026-12-02 17:45:40 +08:00
1 parent 7249342181
commit 17ab1fc3a6
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@iwb-plugin/gallery",
"private": true,
"version": "1.9.10",
"version": "1.9.11",
"description": "图库:右栏图片墙(筛选/多选/预览/插入画布/下载/删除),数据由宿主 gallery 能力提供",
"ibwPlugin": {
"id": "gallery",
+2 -2
View File
@@ -583,7 +583,7 @@
var dlBtn = el('button', { class: 'iwb-gal-dl', title: '下载到本地', 'aria-label': '下载', text: '↓' })
dlBtn.addEventListener('click', function (e) { e.stopPropagation(); doDownload([it.name]) })
acts.appendChild(dlBtn)
acts.className = 'iwb-gal-dlwrap'
// 不要再改 class:定位样式挂在 .iwb-history-actions 上,改名会让按钮掉出卡片
box.appendChild(acts)
// 角标/勾选最后挂:不要 z-index(插件层级闸门禁止裸值),靠 DOM 顺序盖在图片上
if (origBadge) box.appendChild(origBadge)
@@ -853,7 +853,7 @@
global.IWBPluginHost.register({
id: 'gallery',
name: '图库',
version: '1.9.10',
version: '1.9.11',
apiVersion: 1,
capabilities: ['panels', 'gallery'],
data: { schemaVersion: 1, maxBytes: 65536 },