Skip to content

Commit 6ee6c83

Browse files
StiensWoutclaude
andcommitted
fix(web): keep keybinding row action slot so shortcuts align
Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent b7a129d commit 6ee6c83

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/web/src/components/settings/KeybindingsSettings.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,8 @@ function KeybindingRowMenu({
908908
}) {
909909
const canReset = row.source === "Custom" && row.defaultKey !== null;
910910
const canRemove = row.source !== "Default";
911-
if (!canReset && !canRemove) return null;
911+
// Keep the slot occupied so shortcut pills share a right edge across rows.
912+
if (!canReset && !canRemove) return <span className="size-7 shrink-0" aria-hidden />;
912913

913914
return (
914915
<Menu>

0 commit comments

Comments
 (0)