diff --git a/pages/series/@serieId/+Page.vue b/pages/series/@serieId/+Page.vue index ab77cfd..f377232 100644 --- a/pages/series/@serieId/+Page.vue +++ b/pages/series/@serieId/+Page.vue @@ -103,9 +103,22 @@ + :datetime="serie.effectiveDate.toISOString()" + class="date ellipsis compact-hide" + :class="{ nodate: !serie.date }" + >{{ formatDate(serie.effectiveDate, { + month: 'MMMM y', + year: 'y', + }[serie.datePrecision] || 'MMMM d, y') }} + +
@@ -408,6 +421,11 @@ const scenes = pageContext.pageProps.scenes; font-weight: bold; } +.nodate { + color: var(--highlight); + font-weight: normal; +} + .info, .header { border-top: none; @@ -537,6 +555,10 @@ const scenes = pageContext.pageProps.scenes; margin-bottom: 1rem; } +.compact-show { + display: none; +} + @media(--small) { .content { margin: 0; @@ -621,5 +643,13 @@ const scenes = pageContext.pageProps.scenes; .actors { grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); } + + .compact-show { + display: flex; + } + + .compact-hide { + display: none; + } } diff --git a/static b/static index d1ce4d1..7b6e728 160000 --- a/static +++ b/static @@ -1 +1 @@ -Subproject commit d1ce4d12582582adad789c7bc1d347f9257b644c +Subproject commit 7b6e7280ac8af1070dfe00bd47a63fbfa5c5b5ba