From 4c6ef7098c97614100def5b56d43481a8f2697cc Mon Sep 17 00:00:00 2001 From: qiqi Date: Sun, 22 Nov 2026 23:29:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(promptlib):=201.7.9=20=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=AD=A3=E6=96=87=E7=8B=AC=E7=AB=8B=E6=BB=9A=E5=8A=A8=EF=BC=8C?= =?UTF-8?q?=E9=95=BF=E6=96=87=E6=8C=A4=E5=8E=8B=E5=BA=95=E9=83=A8=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- promptlib/package.json | 2 +- promptlib/src/index.js | 2 +- promptlib/styles.css | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/promptlib/package.json b/promptlib/package.json index 24f7443..954bb0e 100644 --- a/promptlib/package.json +++ b/promptlib/package.json @@ -1,7 +1,7 @@ { "name": "@iwb-plugin/promptlib", "private": true, - "version": "1.7.8", + "version": "1.7.9", "description": "提示词库:右栏提示词列表(搜索/分组/收藏/新建编辑/插入画布/复制/删除),数据由宿主 promptlib 能力提供", "ibwPlugin": { "id": "promptlib", diff --git a/promptlib/src/index.js b/promptlib/src/index.js index c980205..b7e6209 100644 --- a/promptlib/src/index.js +++ b/promptlib/src/index.js @@ -1704,7 +1704,7 @@ global.IWBPluginHost.register({ id: 'promptlib', name: '提示词库', - version: '1.7.8', + version: '1.7.9', apiVersion: 1, capabilities: ['panels', 'promptlib', 'nodeTypes', 'canvas', 'canvasWrite'], data: { schemaVersion: 3, maxBytes: 4 * 1024 * 1024 }, diff --git a/promptlib/styles.css b/promptlib/styles.css index c7cd6c5..f894f2e 100644 --- a/promptlib/styles.css +++ b/promptlib/styles.css @@ -482,3 +482,7 @@ body.iwb-plp-dragging, body.iwb-plp-dragging *{user-select:none!important;-webki } .iwb-plp-dialog .iwb-plp-emid .iwb-plp-ewrap .iwb-plp-etext{overflow-y:auto!important;scrollbar-gutter:stable} .iwb-plp-dialog .iwb-plp-emid .iwb-plp-hl{overflow:hidden!important} +/* v1.7.9:详情正文独立滚动,长文不再压到底部按钮 */ +.iwb-plp-dialog-detail .iwb-plp-dbody{overflow:hidden;align-items:stretch} +.iwb-plp-dialog-detail .iwb-plp-dright{flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden} +.iwb-plp-dialog-detail .iwb-plp-dtext{flex:1 1 auto;min-height:0;overflow:auto;padding-right:10px;margin-bottom:6px}