Skip to content

Commit

Permalink
<PHIND_TIMEOUT>
Browse files Browse the repository at this point in the history
  • Loading branch information
FormalSnake committed Dec 1, 2024
1 parent 0408a09 commit 330bb6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/components/ui/command.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Command = React.forwardRef<
<CommandPrimitive
ref={ref}
className={cn(
'flex h-full w-full flex-col overflow-hidden bg-popover text-popover-foreground',
'flex h-[250px] w-full flex-col overflow-hidden bg-popover text-popover-foreground',
className
)}
{...props}
Expand All @@ -24,7 +24,7 @@ Command.displayName = CommandPrimitive.displayName
const CommandDialog = ({ children, ...props }: DialogProps) => {
return (
<Dialog {...props}>
<DialogContent className="overflow-hidden p-0 shadow-lg">
<DialogContent className="overflow-hidden p-0 shadow-lg sm:max-w-md fixed top-[25%]">
<Command className="[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[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">
{children}
</Command>
Expand Down

0 comments on commit 330bb6a

Please sign in to comment.