Adjusted age at death styling in actor tile.
This commit is contained in:
parent
8fa5f5b405
commit
e248de53a2
|
@ -42,8 +42,8 @@
|
|||
<span
|
||||
v-if="actor.ageAtDeath"
|
||||
:title="`Passed ${formatDate(actor.ageAtDeath, 'MMMM d, yyyy')}`"
|
||||
class="age"
|
||||
>{{ actor.ageAtDeath }} <Icon icon="tombstone" /></span>
|
||||
class="age age-death"
|
||||
>{{ actor.ageAtDeath }}</span>
|
||||
|
||||
<span
|
||||
v-else-if="actor.ageFromBirth"
|
||||
|
@ -51,6 +51,7 @@
|
|||
class="age"
|
||||
>{{ actor.ageFromBirth }}</span>
|
||||
|
||||
<!-- don't show 'age then' for scenes released after the performer's death, because it might show an age they sadly never reached -->
|
||||
<span
|
||||
v-if="actor.ageThen && actor.ageThen < actor.ageFromBirth && (!actor.ageAtDeath || actor.ageThen < actor.ageAtDeath)"
|
||||
title="Age on date of release"
|
||||
|
@ -232,6 +233,10 @@ const favorited = ref(props.actor.stashes.some((actorStash) => actorStash.id ===
|
|||
font-weight: normal;
|
||||
}
|
||||
|
||||
.age-death {
|
||||
color: var(--grey-light-20);
|
||||
}
|
||||
|
||||
.country {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in New Issue