mirror of
https://github.com/stablyai/orca.git
synced 2026-10-16 08:03:09 +00:00
The Cmd-J palette feature tip rendered its title and shortcut chip as flex siblings (inline-flex + md:flex-nowrap, chip shrink-0). With a wide label like Ctrl+Shift+J the row overflowed, so the title text shrank to two lines while the fixed-width chip floated to the right edge, vertically centered — detached from the sentence. The compact Mac label (⌘⇧J) fit, so the bug only showed on Windows/Linux. Render the chip as inline text in the title instead of a flex item: short labels stay on one line, wide labels wrap to the next line under the title rather than floating right. whitespace-nowrap keeps the chip from breaking internally; align-middle keeps it aligned with the heading text. Co-authored-by: Orca <help@stably.ai>