feat(promptlib): 1.3.4 瀑布流列表
validate / validate (push) Canceled after 0s

This commit is contained in:
qiqi committed 2026-11-21 21:56:11 +08:00
1 parent e00f211031
commit e8a15cca75
3 files changed
+18 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@iwb-plugin/promptlib",
"private": true,
"version": "1.3.3",
"version": "1.3.4",
"description": "提示词库:右栏提示词列表(搜索/分组/收藏/新建编辑/插入画布/复制/删除),数据由宿主 promptlib 能力提供",
"ibwPlugin": {
"id": "promptlib",
+1 -1
View File
@@ -850,7 +850,7 @@
global.IWBPluginHost.register({
id: 'promptlib',
name: '提示词库',
version: '1.3.3',
version: '1.3.4',
apiVersion: 1,
capabilities: ['panels', 'promptlib'],
data: { schemaVersion: 1, maxBytes: 65536 },
+16
View File
@@ -123,3 +123,19 @@
.iwb-plp-dialog .iwb-plp-dcov,
.iwb-plp-dialog .iwb-plp-ecov { background: var(--iwb-plugin-inset, #f5f6f7); }
.iwb-plp-card .iwb-plp-cover { object-fit: cover; object-position: center; }
/* v1.3.4:瀑布流(列式)+ 卡片定宽不随面板拉伸;面板底色统一走 --iwb-plugin-surface */
.iwb-promptlib .iwb-lib-cards {
display: block;
column-width: 122px; /* 面板越宽 → 列数越多;卡片宽度基本不变 */
column-gap: 8px;
grid-template-columns: none;
}
.iwb-promptlib .iwb-plp-card {
display: inline-block; width: 100%; margin: 0 0 8px;
break-inside: avoid; -webkit-column-break-inside: avoid;
aspect-ratio: auto; /* 高度交给图片原始比例 */
}
.iwb-promptlib .iwb-plp-cover { width: 100%; height: auto; object-fit: contain; }
/* 统一插件灰:面板底(宿主会给 --iwb-plugin-surface,这里只留兜底) */
.iwb-promptlib { background: var(--iwb-plugin-surface, #f2f4f6); }