Skip to content

Commit bc9047b

Browse files
committed
Fixes alignment of the help and feedback menu items
1 parent c06255e commit bc9047b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

apps/webapp/app/components/Shortcuts.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
import { Keyboard } from "lucide-react";
2+
import { useState } from "react";
3+
import { useShortcutKeys } from "~/hooks/useShortcutKeys";
4+
import { Button } from "./primitives/Buttons";
25
import { Header3 } from "./primitives/Headers";
36
import { Paragraph } from "./primitives/Paragraph";
47
import {
58
Sheet,
69
SheetContent,
7-
SheetDescription,
810
SheetHeader,
911
SheetTitle,
10-
SheetTrigger,
12+
SheetTrigger
1113
} from "./primitives/SheetV3";
1214
import { ShortcutKey } from "./primitives/ShortcutKey";
13-
import { Button } from "./primitives/Buttons";
14-
import { useState } from "react";
15-
import { useShortcutKeys } from "~/hooks/useShortcutKeys";
1615

1716
export function Shortcuts() {
1817
return (
@@ -26,8 +25,8 @@ export function Shortcuts() {
2625
fullWidth
2726
textAlignLeft
2827
shortcut={{ modifiers: ["shift"], key: "?", enabled: false }}
29-
className="gap-x-0 pl-0.5"
30-
iconSpacing="gap-x-0.5"
28+
className="gap-x-0 pl-1.5"
29+
iconSpacing="gap-x-1.5"
3130
>
3231
Shortcuts
3332
</Button>

apps/webapp/app/components/navigation/HelpAndFeedbackPopover.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,9 @@ export function HelpAndFeedback({
223223
button={
224224
<Button
225225
variant="small-menu-item"
226+
className="pl-2"
226227
LeadingIcon={EnvelopeIcon}
227-
leadingIconClassName="text-blue-500"
228+
leadingIconClassName="text-blue-500 pr-1"
228229
data-action="contact-us"
229230
fullWidth
230231
textAlignLeft

0 commit comments

Comments
 (0)