Fixed tag photo scroll and lazy loading.

This commit is contained in:
DebaucheryLibrarian
2020-12-29 20:02:26 +01:00
parent b6bf043c48
commit ba8a3036a5
3 changed files with 21 additions and 8 deletions

View File

@@ -19,6 +19,7 @@
<Scroll
v-if="hasMedia"
v-slot="scroll"
:expanded="expanded"
class="scroll-light"
@expand="(state) => expanded = state"
@@ -26,6 +27,7 @@
<Photos
:tag="tag"
:class="{ expanded }"
@load="scroll.loaded"
/>
</Scroll>
@@ -159,4 +161,8 @@ export default {
color: var(--text-light);
background: var(--profile);
}
.scroll {
background: var(--background-dim);
}
</style>