Showing avatars on actor tags instead of sections. Slightly sized down scene page actor tiles, shrinking font size on long names.

This commit is contained in:
2026-07-03 17:59:44 +02:00
parent 4636a213b3
commit 930cc52373
2 changed files with 116 additions and 44 deletions

View File

@@ -74,7 +74,10 @@
</div>
<span class="label">
<span class="name ellipsis">{{ actor.name }}</span>
<span
class="name ellipsis"
:style="{ 'font-size': `${Math.max(0.9 + Math.min((17 - actor.name.length), 0) * 0.06, 0.65)}rem` }"
>{{ actor.name }}</span>
<img
v-if="actor.entity"
@@ -155,6 +158,7 @@ const favorited = ref(props.actor.stashes.some((actorStash) => actorStash.id ===
}
.label {
height: 1.75rem;
display: flex;
justify-content: space-between;
align-items: center;
@@ -168,7 +172,7 @@ const favorited = ref(props.actor.stashes.some((actorStash) => actorStash.id ===
}
.name {
padding: .35rem .25rem .35rem .5rem;
padding: 0 .25rem 0 .5rem;
}
.favicon {