Improve search UI

This commit is contained in:
Pieter Vander Vennet 2024-08-30 02:24:03 +02:00
parent 93f03ddbaf
commit cd6fa08770
2 changed files with 3 additions and 3 deletions

View file

@ -14,11 +14,11 @@
let dataIsLoading = state.dataIsLoading
let currentState = state.hasDataInView
currentState.data === ""
const t = Translations.t.centerMessage
const showingSearch = state.searchState.showSearchDrawer
</script>
{#if $currentState === "has-visible-features"}
{#if $currentState === "has-visible-features" || $showingSearch}
<!-- don't show anything -->
{:else if $currentState === "zoom-to-low"}
<div class="alert w-fit p-4">