Fixed date fallback in scene tile.

This commit is contained in:
DebaucheryLibrarian 2024-08-23 17:46:53 +02:00
parent c134416b46
commit 978dcbaa25
1 changed files with 11 additions and 3 deletions

View File

@ -118,10 +118,9 @@
:datetime="scene.effectiveDate.toISOString()" :datetime="scene.effectiveDate.toISOString()"
class="ellipsis compact-show" class="ellipsis compact-show"
>{{ formatDate(scene.effectiveDate, { >{{ formatDate(scene.effectiveDate, {
day: 'MMM d, y',
month: 'MMM y', month: 'MMM y',
year: 'y', year: 'y',
}[scene.datePrecision]) }}</time> }[scene.datePrecision] || 'MMM d, y') }}</time>
</Link> </Link>
</div> </div>
@ -812,6 +811,7 @@ function copySummary() {
@media(--small-10) { @media(--small-10) {
.banner { .banner {
flex-direction: column;
justify-content: center; justify-content: center;
border-radius: 0; border-radius: 0;
} }
@ -835,7 +835,15 @@ function copySummary() {
} }
.album { .album {
display: none; display: flex;
flex-wrap: nowrap;
overflow-x: auto;
height: 8rem;
}
.photo-container {
flex-grow: 0;
flex-shrink: 0;
} }
.header { .header {