From f47be86df3471390ad119856020fe81a025822b0 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 24 Mar 2021 17:17:51 +0100 Subject: [PATCH] Added scroll events to inner content divs to sync tooltips with page. Including actor heart button on stash page. Fixed stash scene preview title overflow. --- assets/components/actors/actor.vue | 5 +++- assets/components/container/warning.vue | 2 +- assets/components/entities/entity.vue | 5 +++- assets/components/releases/release.vue | 28 +++++++++++------------ assets/components/tags/tag.vue | 5 +++- assets/components/tooltip/tooltip.vue | 1 + assets/components/users/scene-preview.vue | 3 +++ assets/index.ejs | 2 +- assets/js/stashes/actions.js | 3 ++- 9 files changed, 34 insertions(+), 20 deletions(-) diff --git a/assets/components/actors/actor.vue b/assets/components/actors/actor.vue index feb02ae2..2b366b71 100644 --- a/assets/components/actors/actor.vue +++ b/assets/components/actors/actor.vue @@ -42,7 +42,10 @@ /> -
+
-
+
-
- Director - - {{ director.name }} -
-
+
+ Director + + {{ director.name }} +
+
-
+
{ + console.log('scroll!'); this.calculate(); }); } diff --git a/assets/components/users/scene-preview.vue b/assets/components/users/scene-preview.vue index dfe1b6be..2fe60bc2 100644 --- a/assets/components/users/scene-preview.vue +++ b/assets/components/users/scene-preview.vue @@ -81,6 +81,9 @@ export default { .scene-title { padding: .25rem .5rem; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .scene-actors { diff --git a/assets/index.ejs b/assets/index.ejs index 9d716fd3..d68248c2 100644 --- a/assets/index.ejs +++ b/assets/index.ejs @@ -3,7 +3,7 @@ - + traxxx diff --git a/assets/js/stashes/actions.js b/assets/js/stashes/actions.js index 6ea15513..093781ca 100644 --- a/assets/js/stashes/actions.js +++ b/assets/js/stashes/actions.js @@ -5,7 +5,7 @@ import { patch, } from '../api'; -import { releaseFields } from '../fragments'; +import { releaseFields, actorStashesFields } from '../fragments'; import { curateStash } from '../curate'; function initStashesActions(store, _router) { @@ -52,6 +52,7 @@ function initStashesActions(store, _router) { width height } + ${actorStashesFields} } } scenes: stashesScenes {