Skip to content

Commit

Permalink
fix(tablet): search results
Browse files Browse the repository at this point in the history
  • Loading branch information
pugakn committed Oct 26, 2022
1 parent c9979ff commit 5bae255
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/search/Results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export default {
<template lang="pug">
q-page.page-search-results
.row.q-mt-sm
.q-py-md.col-12.col-md-9(:class="{'q-px-sm': $q.screen.gt.sm }")
.q-py-md.col-12.col-lg-9(:class="{'q-px-sm': $q.screen.gt.md }")
widget(:title="`${results.total ? results.total.value : 0} Results`" )
div.cursor-pointer(v-for="result in results.hits" @click="onClick(result._source)")
result(:key = "result.title"
Expand All @@ -416,7 +416,7 @@ q-page.page-search-results
q-btn(@click="onPrev()" :disable="!params.from" round unelevated class="round-circle" icon="fas fa-chevron-left" color="inherit" text-color="primary" size="sm" :ripple="false")
.q-pt-sm {{ getPaginationText }}
q-btn(@click="onNext()" :disable="isLastPage" round unelevated class="round-circle" icon="fas fa-chevron-right" color="inherit" text-color="primary" size="sm" :ripple="false")
.col-3.q-pa-sm.q-py-md(v-if="$q.screen.gt.sm")
.col-3.q-pa-sm.q-py-md(v-if="$q.screen.gt.md")
filter-widget.sticky(
filterTitle = "Search DAOs"
:sort.sync = "filterStatus"
Expand Down Expand Up @@ -448,5 +448,6 @@ q-page.page-search-results
:chipsFiltersLabel = "'Results types'"
:filters.sync = "filters"
:showTextFilter = "false"
:style="'width: 400px; right: 0; left: auto;'"
)
</template>

0 comments on commit 5bae255

Please sign in to comment.