Skip to content

Commit

Permalink
Merge pull request #2403 from zhengow/main
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwao authored Feb 21, 2022
2 parents d02a4f3 + 93c38bd commit 1f32852
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions components/rmrk/Gallery/Search/SearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,14 @@
</div>
</template>
</b-autocomplete>
<div v-if="searchQuery" class="mt-3 ml-4">
<span>Showing results for {{ searchQuery }}</span>
<div
v-if="searchQuery"
:class="{ 'ml-4': true, 'is-size-4': isVisible || !sliderDirty }">
<div>Showing results for {{ searchQuery }}</div>
<div v-if="!isVisible && sliderDirty" class="is-size-7">
Prices ranging from {{ this.query.priceMin / 1000000000000 }} to
{{ this.query.priceMax / 1000000000000 }}
</div>
</div>
</b-field>
<b-field
Expand Down

0 comments on commit 1f32852

Please sign in to comment.