diff --git a/promptlib/package.json b/promptlib/package.json index 7f4d5f2..e4d0b28 100644 --- a/promptlib/package.json +++ b/promptlib/package.json @@ -1,7 +1,7 @@ { "name": "@iwb-plugin/promptlib", "private": true, - "version": "1.8.3", + "version": "1.8.4", "description": "提示词库:右栏提示词列表(搜索/分组/收藏/新建编辑/插入画布/复制/删除),数据由宿主 promptlib 能力提供", "ibwPlugin": { "id": "promptlib", diff --git a/promptlib/src/index.js b/promptlib/src/index.js index a44e81a..a2ac71f 100644 --- a/promptlib/src/index.js +++ b/promptlib/src/index.js @@ -1749,7 +1749,7 @@ global.IWBPluginHost.register({ id: 'promptlib', name: '提示词库', - version: '1.8.3', + version: '1.8.4', 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 74a2f87..ce81c6f 100644 --- a/promptlib/styles.css +++ b/promptlib/styles.css @@ -533,3 +533,7 @@ body.iwb-plp-dragging, body.iwb-plp-dragging *{user-select:none!important;-webki .iwb-plp-dialog-detail .iwb-plp-dright{flex:1 1 auto;min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:14px 16px;border:1px solid #e8eaee;border-radius:14px;background:#fff} .iwb-plp-dialog-detail .iwb-plp-dtext{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;padding-right:8px} .iwb-plp-dialog-detail .iwb-plp-dfooter{flex:0 0 auto} +/* v1.8.4:右卡片纵向拉伸填满,正文出现滚动条 */ +.iwb-plp-dialog-detail .iwb-plp-dbody{align-items:stretch!important} +.iwb-plp-dialog-detail .iwb-plp-dright{align-self:stretch!important;height:100%;max-height:100%;overflow:hidden!important} +.iwb-plp-dialog-detail .iwb-plp-dtext{flex:1 1 0;min-height:0;overflow-y:auto!important;overflow-x:hidden}