From 952b25578be5a1725506b7830af56493160b473a Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 18 Jul 2024 16:39:07 +0200 Subject: [PATCH] ui fix searchbar --- src/lib/components/Searchbar.svelte | 4 ++-- src/lib/components/TagSearchbar.svelte | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lib/components/Searchbar.svelte b/src/lib/components/Searchbar.svelte index f08bd391..f2848ce5 100644 --- a/src/lib/components/Searchbar.svelte +++ b/src/lib/components/Searchbar.svelte @@ -453,7 +453,7 @@ $: { {#if !showSuggestions } {#each popularList as item}
  • - popularTicker(item?.symbol, item?.assetType) } class="mb-2 {item?.symbol === focusedSuggestion ? 'shake-ticker cursor-pointer flex justify-start items-center p-2 text-white bg-[#404040] bg-opacity-[0.25] rounded group' : 'shake-ticker cursor-pointer bg-[#09090B] rounded-lg flex justify-start items-center p-2 text-white group'} w-full"> + popularTicker(item?.symbol, item?.assetType) } class="mb-2 {item?.symbol === focusedSuggestion ? 'shake-ticker cursor-pointer flex justify-start items-center p-2 text-white bg-[#404040] bg-opacity-[0.25] rounded group' : 'shake-ticker cursor-pointer bg-[#09090B] sm:hover:bg-[#17171A] rounded-lg flex justify-start items-center p-2 text-white group'} w-full">
    @@ -486,7 +486,7 @@ $: {
  • -
    diff --git a/src/lib/components/TagSearchbar.svelte b/src/lib/components/TagSearchbar.svelte index df1acf0f..d5b1464a 100644 --- a/src/lib/components/TagSearchbar.svelte +++ b/src/lib/components/TagSearchbar.svelte @@ -334,15 +334,15 @@ $: {

    Oh snapp, ticker does not exist in our database

    {/if} {#if !showSuggestions} -
    +
    Popular
    {/if}