feat(promptlib): 瀑布流 + 插件统一灰(v3.26.3 / 1.3.4)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m52s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m52s
This commit is contained in:
1 parent
2fb0a6941f
commit
9db4c15e7a
16 files changed
+89
-40
No files matched your search
@@ -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); }
|
||||
Reference in new issue
Block a user