fix(ui): increase shortcut pill width to prevent text clipping on Windows

This commit is contained in:
t8y2
2026-06-09 10:41:19 +08:00
parent def1cacf77
commit d4c87f5a4c
@@ -1943,7 +1943,7 @@ watch(
width:
editingShortcutId === definition.id
? shortcutPressShortcutInputWidth
: `${Math.max(4, formatShortcutPill(editShortcuts[definition.id]).length + 2)}ch`,
: `${Math.max(4, formatShortcutPill(editShortcuts[definition.id]).length + 3)}ch`,
}"
readonly
:aria-invalid="shortcutConflicts.includes(definition.id)"