Browse Source

Make tags in preview window clickable

pull/344/head
Nagy László 2 years ago
parent
commit
c9734b1292
No known key found for this signature in database GPG Key ID: BC5A46D766BF10B3
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      pinry-spa/src/components/PinPreview.vue

+ 4
- 1
pinry-spa/src/components/PinPreview.vue View File

@@ -23,7 +23,9 @@
<p class="subtitle is-6" v-show="pinItem.tags.length > 0">
<span class="subtitle dim">in&nbsp;</span>
<template v-for="tag in pinItem.tags">
<b-tag v-bind:key="tag" type="is-info" class="pin-preview-tag">{{ tag }}</b-tag>
<b-tag v-bind:key="tag" type="is-info" class="pin-preview-tag">
<router-link class="pin-preview-tag" :to="{ name: 'tag', params: {tag: tag} }">{{ tag }}</router-link>
</b-tag>
</template>
</p>
</div>
@@ -117,6 +119,7 @@ export default {
.pin-preview-tag {
margin-right: 0.2rem;
margin-bottom: 2px;
color: white;
}
/* preview size should always less then screen */
.card-image img {


Loading…
Cancel
Save