Skip to content

Commit

Permalink
#98: Minor styling and linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aswallace authored and tholulomo committed Mar 15, 2022
1 parent e154baf commit ca475e3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions app/src/assets/css/modules/_pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
&-title {
color: $secondary !important;
font-weight: 900;
:hover {
color:$primary !important;
}
}
&-type {
color: $secondary !important;
Expand Down
5 changes: 2 additions & 3 deletions app/src/components/explorer/SearchResultsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
v-if="result.thumbnail"
>
</md-avatar>
<router-link :to="`/explorer/chart/view/${result.identifier}`">
<div class="results_card-title">{{ result.label }}</div>
<router-link :to="`/explorer/chart/view/${result.identifier}`" class="results_card-title">
<div >{{ result.label }}</div>
</router-link>
<div v-if="resultsTab !== 'Images' && resultsTab!=='Charts'">
<div class="results_card-type">Type</div>
Expand All @@ -63,7 +63,6 @@
</div>
</md-card-header>


</div>
</div>
<pagination
Expand Down
6 changes: 6 additions & 0 deletions app/src/pages/explorer/Gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@
import spinner from '@/components/Spinner'
import pagination from '@/components/explorer/Pagination'
import defaultImg from '@/assets/img/rdf_flyer.svg'
<<<<<<< HEAD
import { toChartId } from '@/modules/vega-chart'
=======
>>>>>>> #98: Minor styling and linting fixes
import { getViewUrl } from '@/modules/whyis-view'
import { mapGetters, mapActions } from 'vuex'
Expand Down Expand Up @@ -143,9 +146,12 @@ export default {
},
getThumbnailUrl (item) {
return getViewUrl({ uri: item.thumbnail })
<<<<<<< HEAD
},
getChartId (chart) {
return toChartId(chart.identifier)
=======
>>>>>>> #98: Minor styling and linting fixes
}
},
async mounted () {
Expand Down

0 comments on commit ca475e3

Please sign in to comment.