fix(starter): the takeover cedes the agent chat's docked width

The chat reserves its width as padding-right on .app-container, but an
absolute inset-0 layer spans the padding box, so the picker's right
column and its scrollbar landed under the panel. The screen now gives
up the same width through the same CSS variable, with the same 0.12s
ease the padding uses, and falls back to zero in builds without the
overlay.
This commit is contained in:
David Montero Crespo 2026-08-08 05:39:23 +02:00
parent 3dd780503f
commit 15654b664b
1 changed files with 7 additions and 0 deletions

View File

@ -208,6 +208,13 @@
the New-workspace dialog 9000) win as they should. */
position: absolute;
inset: 0;
/* The docked agent chat reserves its width as padding-right on
.app-container (see the velxio-agent rules) — but an absolute layer
spans the padding box, so it must cede that width itself or the
right-most cards (and the scrollbar) land under the chat. Falls back
to 0 in builds without the overlay. */
right: var(--velxio-agent-current-width, 0px);
transition: right 0.12s ease;
z-index: 90;
overflow-y: auto;
background: