Skip to content

Commit

Permalink
update to kbd
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Jan 16, 2025
1 parent 166646b commit 2440d1e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/components/Common/SearchByMultipleFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,21 @@ const KeyboardShortcutHint = ({ open }: { open: boolean }) => {
<kbd>Esc</kbd>
</span>
) : isAppleDevice ? (
<span className="border border-gray-300 rounded px-1 py-0.5 bg-white text-gray-500">
<kbd>⌘K</kbd>
</span>
<div className="flex gap-1 font-medium">
<span className="border border-gray-300 rounded px-1 py-0.5 bg-white text-gray-500">
<kbd></kbd>
</span>
<span className="border border-gray-300 rounded px-1 py-0.5 bg-white text-gray-500">
<kbd>K</kbd>
</span>
</div>
) : (
<div className="flex gap-1 font-medium">
<span className="border border-gray-300 rounded px-1 py-0.5 bg-white text-gray-500">
<kbd>Ctrl</kbd>
</span>
<span className="border border-gray-300 rounded px-1 py-0.5 bg-white text-gray-500">
<kbd>k</kbd>
<kbd>K</kbd>
</span>
</div>
)}
Expand Down

0 comments on commit 2440d1e

Please sign in to comment.