Added unstash buttons to non-favorites stash items

This commit is contained in:
DebaucheryLibrarian
2021-09-12 23:21:39 +02:00
parent d3633f31ac
commit 65c79567d2
5 changed files with 92 additions and 20 deletions

View File

@@ -60,6 +60,7 @@
<Releases
v-if="$route.params.range === 'scenes' && stash.scenes?.length > 0"
:releases="stash.scenes.map(item => item.scene)"
:stash="stash"
class="stash-section stash-scenes"
@stash="fetchStash"
/>
@@ -71,7 +72,11 @@
<li
v-for="item in stash.actors"
:key="item.id"
><Actor :actor="item.actor" /></li>
><Actor
:actor="item.actor"
:stash="stash"
@stash="fetchStash"
/></li>
</ul>
<div
@@ -82,6 +87,7 @@
v-for="item in stash.movies"
:key="`movie-${item.id}`"
:movie="item.movie"
:stash="stash"
@stash="fetchStash"
/>
</div>
@@ -257,6 +263,7 @@ export default {
display: grid;
grid-gap: .5rem;
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
grid-template-rows: min-content;
flex-grow: 1;
padding: 1rem;
border-top: solid 1px var(--shadow-hint);
@@ -272,10 +279,9 @@ export default {
border-top: solid 1px var(--shadow-hint);
}
.stash-scenes {
.tiles {
grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
}
.stash-scenes .tiles {
grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
grid-template-rows: min-content;
}
@media(max-width: $breakpoint-small) {