diff --git a/src/lib/components/Searchbar.svelte b/src/lib/components/Searchbar.svelte index b812d505..598a62ff 100644 --- a/src/lib/components/Searchbar.svelte +++ b/src/lib/components/Searchbar.svelte @@ -1,184 +1,170 @@ - - - - - {/each} - {:else if showSuggestions && searchResults?.length === 0} -
  • -
  • - {/if} - + + + + + {#if $searchBarData?.length !== 0} +
    + +
    + {#if notFoundTicker} +

    + Oh snapp, ticker does not exist in our database +

    + {/if} + {#if !showSuggestions} +
    + Popular +
    + {/if} + +
    +
    + {:else} +
    + +
    + {/if} + + + - {:else} -
    - -
    - {/if} - - - - - - - - {/if} - diff --git a/src/routes/insider-tracker/+page.svelte b/src/routes/insider-tracker/+page.svelte index e7ad2c3c..16e22b5a 100644 --- a/src/routes/insider-tracker/+page.svelte +++ b/src/routes/insider-tracker/+page.svelte @@ -126,7 +126,7 @@ // Sort using the generic comparison function stockList = [...originalData].sort(compareValues); }; - $: charNumber = $screenWidth < 640 ? 15 : 15; + $: charNumber = $screenWidth < 640 ? 20 : 25; diff --git a/src/routes/watchlist/+layout.svelte b/src/routes/watchlist/+layout.svelte index 1ed69bf6..3ab71b41 100644 --- a/src/routes/watchlist/+layout.svelte +++ b/src/routes/watchlist/+layout.svelte @@ -150,7 +150,7 @@ >

    - Pro Subscription 🔥 + Pro Subscription

    @@ -170,7 +170,7 @@ >

    - Price Alert ⏰ + Price Alert

    @@ -189,7 +189,7 @@ >

    - Stock Screener 🔎 + Stock Screener