From 978dcbaa259dec856c1874e83a955ece6628c0d5 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Fri, 23 Aug 2024 17:46:53 +0200 Subject: [PATCH] Fixed date fallback in scene tile. --- pages/scene/+Page.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pages/scene/+Page.vue b/pages/scene/+Page.vue index 01d1670..5561e1f 100644 --- a/pages/scene/+Page.vue +++ b/pages/scene/+Page.vue @@ -118,10 +118,9 @@ :datetime="scene.effectiveDate.toISOString()" class="ellipsis compact-show" >{{ formatDate(scene.effectiveDate, { - day: 'MMM d, y', month: 'MMM y', year: 'y', - }[scene.datePrecision]) }} + }[scene.datePrecision] || 'MMM d, y') }} @@ -812,6 +811,7 @@ function copySummary() { @media(--small-10) { .banner { + flex-direction: column; justify-content: center; border-radius: 0; } @@ -835,7 +835,15 @@ function copySummary() { } .album { - display: none; + display: flex; + flex-wrap: nowrap; + overflow-x: auto; + height: 8rem; + } + + .photo-container { + flex-grow: 0; + flex-shrink: 0; } .header {