Skip to content

Commit 6eb6987

Browse files
committed
fix: format
1 parent 82bd850 commit 6eb6987

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

site/src/components/Dialog/Dialog.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ export const DialogContent = forwardRef<
5555
>
5656
{children}
5757
<DialogPrimitive.Close
58-
className={`absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity
58+
className={`absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity
5959
hover:opacity-100
6060
focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2
6161
disabled:pointer-events-none
62-
data-[state=open]:bg-surface-secondary data-[state=open]:text-content-disabled`}>
62+
data-[state=open]:bg-surface-secondary data-[state=open]:text-content-disabled`}
63+
>
6364
<X className="h-4 w-4" />
6465
<span className="sr-only">Close</span>
6566
</DialogPrimitive.Close>

site/src/components/ui/Command.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ export const CommandDialog: FC<DialogProps> = ({
3131
return (
3232
<Dialog {...props}>
3333
<DialogContent className="overflow-hidden p-0">
34-
<Command className={`[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium
34+
<Command
35+
className={`[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium
3536
[&_[cmdk-group-heading]]:text-content-disabled [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0
3637
[&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5
3738
[&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5
38-
[&_[cmdk-item]_svg]:w-5`}>
39+
[&_[cmdk-item]_svg]:w-5`}
40+
>
3941
{children}
4042
</Command>
4143
</DialogContent>

0 commit comments

Comments
 (0)