Place the universal search modal and the top and make it taller

This commit is contained in:
Claudio Ortolina
2025-07-06 14:57:20 +01:00
parent 4b27699d47
commit 97950e3ad5
@@ -2,6 +2,7 @@
:if={@show_modal}
id="universal-search-root"
class="md:min-w-2xl max-w-sm md:max-w-3xl"
placement="top"
open={@show_modal}
on_close={JS.push("close_modal", value: %{})}
>
@@ -29,7 +30,7 @@
<.no_results :if={@search_query != "" and @total_results == 0} query={@search_query} />
<!-- Search results -->
<div :if={@total_results > 0} class="max-h-96 overflow-y-auto">
<div :if={@total_results > 0} class="max-h-128 overflow-y-auto">
<!-- Collection results -->
<.search_result_group
:if={length(@search_results.collection) > 0}