Compare commits

..

No commits in common. "92eed64fe89602f1cd36b2702224cf5d28ffe4c4" and "b6bf043c481f7eeaa2461c657963cd14963045eb" have entirely different histories.

6 changed files with 11 additions and 24 deletions

View File

@ -121,7 +121,7 @@ export default {
} }
} }
.slide-enter-from, .slide-enter,
.slide-leave-to { .slide-leave-to {
&.sidebar-container { &.sidebar-container {
background: transparent; background: transparent;

View File

@ -10,11 +10,9 @@
> >
<img <img
:src="`/img/${poster.thumbnail}`" :src="`/img/${poster.thumbnail}`"
:style="{ 'background-image': `url(/img/${poster.lazy})` }"
:alt="tag.poster.comment" :alt="tag.poster.comment"
class="poster" class="poster"
loading="lazy" @load="$parent.$emit('load')"
@load="$emit('load', $event)"
> >
<span <span
@ -34,10 +32,9 @@
> >
<img <img
:src="`/img/${photo.thumbnail}`" :src="`/img/${photo.thumbnail}`"
:style="{ 'background-image': `url(/img/${photo.thumbnail})` }"
:alt="photo.comment" :alt="photo.comment"
class="photo" class="photo"
@load="$emit('load', $event)" @load="$parent.$emit('load')"
> >
<span <span
@ -72,7 +69,6 @@ export default {
default: null, default: null,
}, },
}, },
emits: ['load'],
computed: { computed: {
poster, poster,
photos, photos,
@ -83,9 +79,12 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.photos { .photos {
width: 100%; width: 100%;
padding: .5rem 1rem 0 1rem; padding: .5rem 1rem 0 .5rem;
box-sizing: border-box; box-sizing: border-box;
overflow-x: auto;
white-space: nowrap; white-space: nowrap;
scrollbar-width: none;
scroll-behavior: smooth;
font-size: 0; font-size: 0;
&::-webkit-scrollbar { &::-webkit-scrollbar {
@ -113,10 +112,9 @@ export default {
display: inline-block; display: inline-block;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
margin: 0 .5rem 0 0;
&:last-child { &:not(:last-child) {
margin: 0 1rem 0 0; margin: 0 .5rem 0 0;
} }
&:hover .photo-comment { &:hover .photo-comment {
@ -129,9 +127,6 @@ export default {
max-height: 15rem; max-height: 15rem;
max-width: 100%; max-width: 100%;
box-shadow: 0 0 3px var(--shadow-weak); box-shadow: 0 0 3px var(--shadow-weak);
object-fit: cover;
background-position: center;
background-size: cover;
} }
.photo-comment { .photo-comment {

View File

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

View File

@ -37,13 +37,11 @@ function initTagsActions(store, _router) {
media { media {
id id
thumbnail thumbnail
lazy
path path
comment comment
sfw: sfwMedia { sfw: sfwMedia {
id id
thumbnail thumbnail
lazy
path path
comment comment
} }

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.149.8", "version": "1.149.7",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.149.8", "version": "1.149.7",
"description": "All the latest porn releases in one place", "description": "All the latest porn releases in one place",
"main": "src/app.js", "main": "src/app.js",
"scripts": { "scripts": {