mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
fix(desktop): align the composer status lane with the surface
The lane is `inset-x-0`, which resolves against the composer root's padding box, while the surface and the underside strip sit in its content box — so the pill strip hung 5px further left than both. Measured: pills 321.83, chip 326.83, surface 326.83.
This commit is contained in:
parent
58708c7066
commit
a7e3536a70
1 changed files with 4 additions and 1 deletions
|
|
@ -273,7 +273,10 @@ export function ComposerStatusStack({ queue, sessionId }: ComposerStatusStackPro
|
|||
// Sits in the overlay lane above the composer. The composer root has pt-2
|
||||
// before the actual surface; translate by that amount so the stack returns
|
||||
// to its original attachment point without intruding into the repo strip.
|
||||
className="absolute inset-x-0 bottom-full z-3 flex max-h-[40vh] flex-col translate-y-2"
|
||||
// pl matches the surface's own left edge: `inset-x-0` resolves against the
|
||||
// root's PADDING box, while the surface and the underside strip sit in its
|
||||
// CONTENT box, so without it the lane hangs 5px further left than both.
|
||||
className="absolute inset-x-0 bottom-full z-3 flex max-h-[40vh] flex-col translate-y-2 pl-[0.3125rem]"
|
||||
onPointerDownCapture={() => blurComposerInput()}
|
||||
ref={stackRef}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue