Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian b788d78aab 0.42.26 2026-01-23 05:25:39 +01:00
DebaucheryLibrarian cd9e4a5e8d Fixed date display on serie page. 2026-01-23 05:25:36 +01:00
4 changed files with 37 additions and 7 deletions

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.42.25",
"version": "0.42.26",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.42.25",
"version": "0.42.26",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -87,7 +87,7 @@
"overrides": {
"vite": "$vite"
},
"version": "0.42.25",
"version": "0.42.26",
"imports": {
"#/*": "./*.js"
}

View File

@ -103,9 +103,22 @@
</div>
<time
:datetime="serie.date.toISOString()"
class="date ellipsis"
>{{ formatDate(serie.date, 'MMMM d, y') }}</time>
: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') }}</time>
<time
:datetime="serie.effectiveDate.toISOString()"
class="date ellipsis compact-show"
:class="{ nodate: !serie.date }"
>{{ formatDate(serie.effectiveDate, {
month: 'MMM y',
year: 'y',
}[serie.datePrecision] || 'MMM d, y') }}</time>
</div>
<div class="header">
@ -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;
}
}
</style>

2
static

@ -1 +1 @@
Subproject commit d1ce4d12582582adad789c7bc1d347f9257b644c
Subproject commit 7b6e7280ac8af1070dfe00bd47a63fbfa5c5b5ba