Skip to content

Commit 0893e51

Browse files
committed
fix(web): fix alignment of keyboard button in global actions
1 parent e6756e0 commit 0893e51

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎apps/web/components/dashboard/GlobalActions.tsx‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { useInBookmarkGridStore } from "@/lib/store/useInBookmarkGridStore";
88
import { useKeyboardNavigationStore } from "@/lib/store/useKeyboardNavigationStore";
99
import { Keyboard } from "lucide-react";
1010

11-
import { Button } from "../ui/button";
11+
import { ButtonWithTooltip } from "../ui/button";
1212

1313
export default function GlobalActions() {
1414
const { t } = useTranslation();
@@ -24,15 +24,15 @@ export default function GlobalActions() {
2424
{inBookmarkGrid && <BulkBookmarksAction />}
2525
{inBookmarkGrid && <SortOrderToggle />}
2626
{inBookmarkGrid && (
27-
<Button
27+
<ButtonWithTooltip
2828
variant="ghost"
29-
size="sm"
3029
onClick={() => setShortcutsDialogOpen(true)}
31-
title={t("keyboard_shortcuts.title")}
30+
tooltip={t("keyboard_shortcuts.title")}
31+
delayDuration={100}
3232
aria-label={t("keyboard_shortcuts.title")}
3333
>
34-
<Keyboard className="size-4" />
35-
</Button>
34+
<Keyboard size={18} />
35+
</ButtonWithTooltip>
3636
)}
3737
</div>
3838
);

0 commit comments

Comments
 (0)