Fixed logo hiding in tag album. Full comment bar links to channel.

This commit is contained in:
DebaucheryLibrarian 2021-03-07 20:14:02 +01:00
parent 1f9963075c
commit 63ecd3b568
5 changed files with 9 additions and 19 deletions

View File

@ -34,13 +34,11 @@
<Logo :photo="item" /> <Logo :photo="item" />
<span <router-link
v-if="comments && item.title && item.entity" v-if="comments && item.title && item.entity"
class="item-comment"
>{{ item.title }} for <router-link
:to="`/${item.entity.type}/${item.entity.slug}`" :to="`/${item.entity.type}/${item.entity.slug}`"
class="link" class="item-comment"
>{{ item.entity.name }}</router-link></span> >{{ item.title }} for {{ item.entity.name }}</router-link>
<span <span
v-else-if="comments && item.title" v-else-if="comments && item.title"
@ -176,7 +174,7 @@ export default {
transform: translateY(0); transform: translateY(0);
} }
.album-logo { ::v-deep(.album-logo) {
opacity: 0; opacity: 0;
} }
} }
@ -198,14 +196,11 @@ export default {
background: var(--darken); background: var(--darken);
font-size: .9rem; font-size: .9rem;
text-shadow: 0 0 3px var(--darken); text-shadow: 0 0 3px var(--darken);
text-decoration: none;
white-space: normal; white-space: normal;
line-height: 1.25; line-height: 1.25;
transform: translateY(100%); transform: translateY(100%);
transition: transform .25s ease; transition: transform .25s ease;
.link {
color: inherit;
}
} }
@media(max-width: $breakpoint-giga) { @media(max-width: $breakpoint-giga) {

View File

@ -19,13 +19,11 @@
<Logo :photo="photo" /> <Logo :photo="photo" />
<span <router-link
v-if="photo.comment && photo.entity" v-if="photo.comment && photo.entity"
class="photo-comment"
>{{ photo.comment }} for <router-link
:to="`/${photo.entity.type}/${photo.entity.slug}`" :to="`/${photo.entity.type}/${photo.entity.slug}`"
class="link" class="photo-comment"
>{{ photo.entity.name }}</router-link></span> >{{ photo.comment }} for {{ photo.entity.name }}</router-link>
<span <span
v-else-if="photo.comment" v-else-if="photo.comment"
@ -143,13 +141,10 @@ export default {
background: var(--shadow); background: var(--shadow);
font-size: .9rem; font-size: .9rem;
text-shadow: 0 0 3px var(--shadow); text-shadow: 0 0 3px var(--shadow);
text-decoration: none;
white-space: normal; white-space: normal;
line-height: 1.25; line-height: 1.25;
transform: translateY(100%); transform: translateY(100%);
transition: transform .25s ease; transition: transform .25s ease;
.link {
color: inherit;
}
} }
</style> </style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 970 KiB

After

Width:  |  Height:  |  Size: 994 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 29 KiB