mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 12:54:29 +00:00
The name, the clip count and every control now share one line, with the controls anchored to the right edge: eye, then FX, then the automation toggle. The two-line split this replaces existed to stop four controls truncating the name to a few characters. It does not need a second line to do that: the name already truncates on its own, and the controls are `shrink-0`, so they hold the edge and the name gives way instead. `ml-auto` on the control group absorbs whatever slack the name leaves, which is what keeps the buttons on the edge at any name length. The clip count sits against the name rather than out with the controls. That took dropping `flex-1` from the name — with it, the name claimed all the free width and pushed the badge across the row to meet the buttons. Now the badge tracks the name's own width: measured 4px after it on every row, whatever the name's length. Also folds away the class of bug the last two commits fixed: with one line and one right-aligned group there is no second line for a control to be misfiled onto, and nothing to centre in a box that grows. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>