Showing quality on scene page.

This commit is contained in:
2024-06-04 04:46:38 +02:00
parent 7fe3f63a5c
commit 78cb842cf7
3 changed files with 33 additions and 171 deletions

View File

@@ -63,13 +63,14 @@
<Link
:href="scene.url"
:title="scene.effectiveDate.toISOString()"
:title="scene.date ? format(scene.date.toISOString(), 'y-MM-dd hh:mm') : `Release date unknown, added ${format(scene.createdAt, 'y-MM-dd')}`"
target="_blank"
class="date-link nolink"
>
<time
:datetime="scene.effectiveDate.toISOString()"
class="date"
:class="{ nodate: !scene.date }"
>{{ format(scene.effectiveDate, 'MMM d, y') }}</time>
</Link>
</div>
@@ -249,6 +250,11 @@ const favorited = ref(props.scene.stashes.some((sceneStash) => sceneStash.id ===
align-items: center;
}
.nodate {
font-style: italic;
color: var(--highlight);
}
.row {
margin: 0 .5rem .25rem .5rem;
font-size: .9rem;