fix(promptlib): 1.3.5 无封面方形占位
validate / validate (push) Canceled after 0s

This commit is contained in:
qiqi committed 2026-11-21 22:01:47 +08:00
1 parent e8a15cca75
commit 7e9d73d702
3 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@iwb-plugin/promptlib",
"private": true,
"version": "1.3.4",
"version": "1.3.5",
"description": "提示词库:右栏提示词列表(搜索/分组/收藏/新建编辑/插入画布/复制/删除),数据由宿主 promptlib 能力提供",
"ibwPlugin": {
"id": "promptlib",
+1 -1
View File
@@ -850,7 +850,7 @@
global.IWBPluginHost.register({
id: 'promptlib',
name: '提示词库',
version: '1.3.4',
version: '1.3.5',
apiVersion: 1,
capabilities: ['panels', 'promptlib'],
data: { schemaVersion: 1, maxBytes: 65536 },
+4
View File
@@ -139,3 +139,7 @@
.iwb-promptlib .iwb-plp-cover { width: 100%; height: auto; object-fit: contain; }
/* 统一插件灰:面板底(宿主会给 --iwb-plugin-surface,这里只留兜底) */
.iwb-promptlib { background: var(--iwb-plugin-surface, #f2f4f6); }
/* v1.3.5:无封面的提示词也给一个方形占位(否则瀑布流里会塌成一条线) */
.iwb-promptlib .iwb-plp-card.no-cover { aspect-ratio: 1 / 1; }
.iwb-promptlib .iwb-plp-card.no-cover .iwb-plp-t { max-height: 60%; }