Fea: add hotkey for compare function (#483)

* add hotkey for compare function

* remove duplicate hotkeys

* add id="media-compare-button" to small layout
This commit is contained in:
Harry
2024-04-03 21:12:23 -07:00
committed by GitHub
parent 0a10909dcc
commit 096a7395b2
3 changed files with 57 additions and 39 deletions

View File

@@ -84,7 +84,20 @@ export const Hotkeys = () => {
n
</kbd>
</div>
<Separator />
<div className="flex items-center justify-between py-4">
<div className="flex items-center space-x-2 capitalize">
{t("compare")}
</div>
<kbd className="bg-muted px-2 py-1 rounded-md text-sm text-muted-foreground">
c
</kbd>
</div>
<Separator />
</div>
</>
);