mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
Add auto refresh dropdown (#620)
This commit is contained in:
@ -21,7 +21,7 @@ export default function AppCommand() {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Button className="px-1!" variant="outline" size="sm" onClick={() => setOpen(true)}>
|
||||
<Button className="hidden px-1! lg:flex" variant="outline" size="sm" onClick={() => setOpen(true)}>
|
||||
<span className="sr-only">Open command menu</span>
|
||||
<SearchIcon className="ml-1 size-3" />
|
||||
Search...
|
||||
@ -29,6 +29,9 @@ export default function AppCommand() {
|
||||
<CommandIcon className="mr-1 size-3" /> K
|
||||
</span>
|
||||
</Button>
|
||||
<Button className="lg:hidden" variant="outline" size="sm" onClick={() => setOpen(true)}>
|
||||
<CommandIcon className="mr-1 size-3" /> K
|
||||
</Button>
|
||||
<CommandDialog open={open} onOpenChange={setOpen}>
|
||||
<CommandInput placeholder="Type a command or search..." />
|
||||
<CommandList>
|
||||
|
Reference in New Issue
Block a user