Enable Ctrl/Meta+K to trigger universal search
This commit is contained in:
@@ -39,10 +39,12 @@
|
||||
</div>
|
||||
<div class="flex space-x-2 md:space-x-4 items-center">
|
||||
<.button
|
||||
id="universal-search-button"
|
||||
variant="ghost"
|
||||
title={gettext("Search (Ctrl+K)")}
|
||||
phx-click="open_modal"
|
||||
phx-target="#universal-search"
|
||||
phx-hook="SearchGlobalShortcut"
|
||||
>
|
||||
<span class="sr-only">{gettext("Search (Ctrl+K)")}</span>
|
||||
<.icon name="hero-magnifying-glass" class="h-5 w-5" />
|
||||
|
||||
Reference in New Issue
Block a user