fix(desktop): keep composer status card scrollable

This commit is contained in:
Sylvester Kaczmarek
2026-08-29 18:11:05 +01:00
committed by Teknium
parent d87d7657c0
commit d5ad0c2be2

View File

@@ -19,9 +19,13 @@ const composerDockEdge = (edge: 'bottom' | 'top') =>
/** Glassy docked card — the status stack / queue. Paints the SAME
* `--composer-fill` as the surface, so rest / scrolled / focused / drawer-open
* all match the composer by construction. */
* all match the composer by construction.
*
* Keep the card non-shrinking inside capped flex scroll containers. Otherwise
* flexbox compresses the card to the cap and its own overflow-hidden clips
* later status rows before the outer status stack gets anything to scroll. */
export const composerDockCard = (edge: 'bottom' | 'top' = 'top') =>
cn(composerDockEdge(edge), composerFill, composerSurfaceGlass)
cn('shrink-0', composerDockEdge(edge), composerFill, composerSurfaceGlass)
/** Floating composer panel skin — the `/`·`@`·`?` completion drawer and the
* attach (`+`) menu. Glassy translucent card, hairline border, full radius,