hyperhive/frontend/packages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 8d8ac72d98 swarm-ui: size dialogs to their own content width
Dialog previously forced every caller to a fixed width: 90vw; max-width: 44em
shell regardless of content — fine for the create-agent form's wide
two-panel layout (the only caller until now), but a ConfirmDialog's short
paragraph then wrapped at its own narrower max-width while the shell stayed
the wide default, leaving a dead gutter before the close button (mara filed
a screenshot showing exactly this).

First pass added a narrow prop/second CSS class for ConfirmDialog to opt
into a smaller fixed width. Review pointed at the actual root cause one
level up: width: 90vw is a forced width, not a cap — a native dialog's own
UA default is width: fit-content. Switching .ui-dialog to
width: fit-content; max-width: min(90vw, 44em) lets each caller size to its
own content naturally: the create-agent form still hits the 44em cap (same
rendered width as before, confirmed via screenshot), ConfirmDialog's
paragraph settles at its own intrinsic width with no extra prop, no second
CSS class, and no second hardcoded number to keep in sync with the first.
2026-09-08 11:08:01 +02:00
..
agent docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
dashboard docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
shared swarm-ui: one badge+dropdown for wanted state, not multiple buttons 2026-09-07 22:31:44 +02:00
swarm-ui swarm-ui: size dialogs to their own content width 2026-09-08 11:08:01 +02:00