Hiding low-entropy photos from actor page. Fixed actors filter tab spacing. Fixed entity logo stretching on compact scene page.

This commit is contained in:
2026-01-09 03:08:08 +01:00
parent 37ccc3c3dd
commit b63037ef74
5 changed files with 8 additions and 4 deletions

View File

@@ -37,10 +37,10 @@
<div
class="photos nobar"
:class="{ 'has-avatar': actor.avatar, 'has-photos': actor.avatar ? actor.photos.length > 1 : actor.photos.length > 0 }"
:class="{ 'has-avatar': actor.avatar, 'has-photos': actor.avatar ? photos.length > 1 : photos.length > 0 }"
>
<div
v-for="photo in actor.photos"
v-for="photo in photos"
:key="`photo-${photo.id}`"
class="photo-container"
:class="{ avatar: photo.isAvatar }"
@@ -92,6 +92,8 @@ const { pageProps, routeParams } = pageContext;
const { actor } = pageProps;
const domain = routeParams.domain;
const photos = actor.photos.filter((photo) => !photo.entropy || photo.entropy > 5.5);
</script>
<style scoped>