agent-loft 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/web/style.css +22 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-loft",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "type": "module",
5
5
  "description": "多个 agent 的工作台:把本机 Claude Code / Codex 放到一处统一管理,用飞书和 Web 页面随时驱动——会话、审批、模型切换都共用",
6
6
  "keywords": [
package/web/style.css CHANGED
@@ -949,7 +949,7 @@ button.conv-group:hover {
949
949
  .messages-inner {
950
950
  max-width: 820px;
951
951
  margin: 0 auto;
952
- padding: 16px 20px 24px;
952
+ padding: 16px 20px 40px;
953
953
  display: flex;
954
954
  flex-direction: column;
955
955
  gap: 18px;
@@ -1597,6 +1597,26 @@ a.att-file:hover {
1597
1597
 
1598
1598
  .composer-wrap {
1599
1599
  padding: 0 16px calc(12px + env(safe-area-inset-bottom));
1600
+ position: relative;
1601
+ z-index: 2;
1602
+ }
1603
+
1604
+ /* 输入框上沿的渐变:聊天内容滚到底部时柔和地淡出,不是被一刀切开(和顶栏下沿对称)。
1605
+ 右边让出滚动条的宽度,免得把滚动条也盖淡 */
1606
+ .composer-wrap::before {
1607
+ content: "";
1608
+ position: absolute;
1609
+ left: 0;
1610
+ right: 10px;
1611
+ bottom: 100%;
1612
+ height: 32px;
1613
+ pointer-events: none;
1614
+ background: linear-gradient(
1615
+ to top,
1616
+ var(--bg),
1617
+ color-mix(in srgb, var(--bg) 70%, transparent) 40%,
1618
+ color-mix(in srgb, var(--bg) 0%, transparent)
1619
+ );
1600
1620
  }
1601
1621
 
1602
1622
  .composer-box {
@@ -2510,7 +2530,7 @@ button.list-item:hover {
2510
2530
  }
2511
2531
 
2512
2532
  .messages-inner {
2513
- padding: 12px 14px 20px;
2533
+ padding: 12px 14px 36px;
2514
2534
  }
2515
2535
 
2516
2536
  .msg-user {