feat: optimize chat page scroll area

This commit is contained in:
07akioni
2026-07-29 20:25:22 +08:00
parent a0534b7b8a
commit a4602b959e
22 changed files with 358 additions and 76 deletions
@@ -1,5 +1,7 @@
/* Full-bleed scroll host so Turn sticky bars can paint edge-to-edge;
* cell content width is capped on the turn body (max 880). */
* cell content width is capped on the turn body (max 880). Under the
* active conversation column (`[data-conversation-scroll]`) the parent
* owns overflow so the sticky composer stays in the same scrollport. */
.root {
overflow-y: auto;
height: 100%;
@@ -10,6 +12,11 @@
background: var(--dsw-specific-sidebar-fill);
}
:global([data-conversation-scroll]) .root {
overflow: visible;
height: auto;
}
.empty {
padding: 16px;
color: var(--dsw-alias-label-tertiary);