feat(promptlib): 1.3.3 封面任意比例(contain 显示)
validate / validate (push) Canceled after 0s

This commit is contained in:
qiqi committed 2026-11-21 21:49:08 +08:00
1 parent ebf277158b
commit e00f211031
3 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@iwb-plugin/promptlib",
"private": true,
"version": "1.3.2",
"version": "1.3.3",
"description": "提示词库:右栏提示词列表(搜索/分组/收藏/新建编辑/插入画布/复制/删除),数据由宿主 promptlib 能力提供",
"ibwPlugin": {
"id": "promptlib",
+1 -1
View File
@@ -850,7 +850,7 @@
global.IWBPluginHost.register({
id: 'promptlib',
name: '提示词库',
version: '1.3.2',
version: '1.3.3',
apiVersion: 1,
capabilities: ['panels', 'promptlib'],
data: { schemaVersion: 1, maxBytes: 65536 },
+7
View File
@@ -116,3 +116,10 @@
/* 左侧封面区的两个按钮:去掉按钮描边,弱化成文字按钮 */
.iwb-plp-dialog .iwb-plp-eleft .iwb-btn { border-color: transparent; background: var(--iwb-plugin-inset, #f5f6f7); }
.iwb-plp-dialog .iwb-plp-eleft .iwb-btn:hover { background: var(--iwb-plugin-hover, #eef1f4); }
/* v1.3.3:封面比例不定 —— 详情/编辑里完整显示(contain,不裁切);列表保持方形裁切(网格整齐) */
.iwb-plp-dialog .iwb-plp-dcov img,
.iwb-plp-dialog .iwb-plp-ecov img { object-fit: contain; background: var(--iwb-plugin-inset, #f5f6f7); }
.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; }