Skip to content

Commit 936d6f3

Browse files
committed
fix: adjust CommandDialog content positioning for improved layout
1 parent e046448 commit 936d6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/command.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function CommandDialog({
4646
<DialogTitle>{title}</DialogTitle>
4747
<DialogDescription>{description}</DialogDescription>
4848
</DialogHeader>
49-
<DialogContent className="overflow-hidden p-0 top-[20%]">
49+
<DialogContent className="overflow-hidden p-0 top-[30%]">
5050
<Command
5151
shouldFilter={shouldFilter}
5252
className="[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5"

0 commit comments

Comments
 (0)