🎨 update shortcut badge formatting to explicit Ctrl/Cmd + key
Browse files at this commit1e8b8f966d64a2df247c1ae33d4c73e0e1fa5dbaParent: 06a375c- style
- 🎨 update shortcut badge formatting to explicit Ctrl/Cmd + key
1 changed file +1 -2
src/components/layout/command-palette.tsxmodified+1 -2
| @@ -65,8 +65,7 @@ export function CommandPalette(props: CommandPaletteProps) { | ||
| 65 | 65 | const isTeacherPlus = hasMinRole(userRole, "teacher"); |
| 66 | 66 | const isStudent = userRole === "student"; |
| 67 | 67 | |
| 68 | - const isMac = typeof navigator !== "undefined" && (navigator.userAgent.includes("Mac") || navigator.platform?.includes("Mac")); | |
| 69 | - const mod = isMac ? "⌘" : "Ctrl+"; | |
| 68 | + const mod = "Ctrl/Cmd + "; | |
| 70 | 69 | |
| 71 | 70 | // 1. Quick Actions (Hızlı İşlemler) |
| 72 | 71 | const actionsCategoryLabel = t("command.group.actions"); |