@sierra-95/svelte-scaffold 1.0.40 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -91,6 +91,11 @@
|
|
|
91
91
|
border-radius: 5px;
|
|
92
92
|
transition: border-color 0.05s;
|
|
93
93
|
}
|
|
94
|
+
p.searchbar-paragraph{
|
|
95
|
+
margin-top: 1rem;
|
|
96
|
+
color: var(--text-secondary);
|
|
97
|
+
font-size: 0.9rem;
|
|
98
|
+
}
|
|
94
99
|
</style>
|
|
95
100
|
|
|
96
101
|
{#if $isMobile}
|
|
@@ -116,10 +121,10 @@
|
|
|
116
121
|
}}>{result.label}</MenuItem>
|
|
117
122
|
{/each}
|
|
118
123
|
{:else if query}
|
|
119
|
-
<p class="
|
|
124
|
+
<p style="m" class="searchbar-paragraph">No results found</p>
|
|
120
125
|
{/if}
|
|
121
126
|
{#if initialResults.length > 0}
|
|
122
|
-
<p class="
|
|
127
|
+
<p class="searchbar-paragraph">Recent Searches</p>
|
|
123
128
|
{#each initialResults as result}
|
|
124
129
|
<MenuItem icon={result.icon} iconSize="15px" onclick={() => {
|
|
125
130
|
saveRecentSearch(result);
|