forked from DebaucheryLibrarian/traxxx
Removed entity name from tag photo description and appending it dynamically.
This commit is contained in:
@@ -35,7 +35,15 @@
|
||||
<Logo :photo="item" />
|
||||
|
||||
<span
|
||||
v-if="comments && item.title"
|
||||
v-if="comments && item.title && item.entity"
|
||||
class="item-comment"
|
||||
>{{ item.title }} for <router-link
|
||||
:to="`/${item.entity.type}/${item.entity.slug}`"
|
||||
class="link"
|
||||
>{{ item.entity.name }}</router-link></span>
|
||||
|
||||
<span
|
||||
v-else-if="comments && item.title"
|
||||
class="item-comment"
|
||||
>{{ item.title }}</span>
|
||||
</a>
|
||||
@@ -194,6 +202,10 @@ export default {
|
||||
line-height: 1.25;
|
||||
transform: translateY(100%);
|
||||
transition: transform .25s ease;
|
||||
|
||||
.link {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $breakpoint-giga) {
|
||||
|
||||
Reference in New Issue
Block a user