Skip to content

Commit bef4432

Browse files
committed
Fixed some ilegal markup
1 parent 2ac815f commit bef4432

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

apps/webapp/app/components/Shortcuts.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@ export function Shortcuts() {
3333
<SheetContent>
3434
<SheetHeader>
3535
<SheetTitle>
36-
<Keyboard className="size-5 text-indigo-500" />
37-
Keyboard shortcuts
36+
<div className="flex items-center gap-x-2">
37+
<Keyboard className="size-5 text-indigo-500" />
38+
<span className="font-sans text-base font-medium text-text-bright">
39+
Keyboard shortcuts
40+
</span>
41+
</div>
3842
</SheetTitle>
39-
<SheetDescription className="space-y-6 px-4 py-2">
43+
<div className="space-y-6 px-4 py-2">
4044
<div className="space-y-3">
4145
<Header3>General</Header3>
4246
<Shortcut name="Close">
@@ -127,7 +131,7 @@ export function Shortcuts() {
127131
<ShortcutKey shortcut={{ key: "n" }} variant="medium/bright" />
128132
</Shortcut>
129133
</div>
130-
</SheetDescription>
134+
</div>
131135
</SheetHeader>
132136
</SheetContent>
133137
</Sheet>

apps/webapp/app/components/primitives/SheetV3.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const SheetTitle = React.forwardRef<
9090
)}
9191
{...props}
9292
>
93-
<Header2 className="flex items-center gap-2">{children}</Header2>
93+
{children}
9494
<SheetPrimitive.Close className="flex items-center gap-1 rounded-sm p-1 pl-0 transition hover:bg-charcoal-750 focus-visible:focus-custom disabled:pointer-events-none">
9595
<ShortcutKey shortcut={{ key: "esc" }} variant="small" />
9696
<NamedIcon name="close" className="size-4" />

0 commit comments

Comments
 (0)