Fixed heart icon in other user's stashes. Syncing stashes to session on creation and removal.

This commit is contained in:
2024-04-02 02:50:24 +02:00
parent eb423b4886
commit 5f2b696b23
4 changed files with 61 additions and 19 deletions

View File

@@ -76,7 +76,7 @@
>
<img
v-if="scene.channel.hasLogo"
:src="scene.channel.isIndependent || !scene.network ? `/logos/${scene.channel.slug}/network.png` : `/logos/${scene.network.slug}/${scene.channel.slug}.png`"
:src="scene.channel.isIndependent || !scene.network ? `/logos/${scene.channel.slug}/thumbs/network.png` : `/logos/${scene.network.slug}/thumbs/${scene.channel.slug}.png`"
class="channel-logo entity-logo"
>
</Link>
@@ -87,12 +87,12 @@
>
by
<Link
:href="`/${scene.network.type}/${scene.network.slug}`"
:href="`/${scene.network.type}/thumbs/${scene.network.slug}`"
class="network-link entity-link"
>
<img
v-if="scene.network.hasLogo"
:src="`/logos/${scene.network.slug}/network.png`"
:src="`/logos/${scene.network.slug}/thumbs/network.png`"
class="network-logo entity-logo"
>
</Link>
@@ -371,11 +371,13 @@ const poster = computed(() => {
.meta {
display: flex;
height: 3.25rem;
justify-content: space-between;
align-items: center;
align-items: stretch;
background: var(--grey-dark-40);
border-radius: 0 0 .5rem .5rem;
color: var(--text-light);
overflow: hidden;
}
.entity {
@@ -386,18 +388,23 @@ const poster = computed(() => {
}
.entity-link {
display: flex;
align-items: center;
box-sizing: border-box;
padding: .5rem 1rem;
height: 100%;
}
.entity-logo {
width: 10rem;
max-width: 15rem;
max-height: 100%;
object-fit: contain;
}
.network-container {
height: 100%;
display: flex;
align-items: center;
overflow: hidden;
}
.date {