improve unreleased air date text clarity

This commit is contained in:
Pas 2025-08-03 15:14:48 -06:00
parent bd9ff1698f
commit 5c25810c2e
2 changed files with 3 additions and 3 deletions

View file

@ -531,7 +531,7 @@ export function EpisodeCarousel({
{episode.episode_number}
</span>
{!isAired && (
<span className="text-video-context-type-main/70 text-sm">
<span className="bg-video-context-hoverColor/50 text-video-context-type-main/80 text-sm px-1 py-0.5 rounded-md">
{episode.air_date
? `(${t("details.airs")} - ${new Date(episode.air_date).toLocaleDateString()})`
: `(${t("media.unreleased")})`}

View file

@ -447,7 +447,7 @@ export function EpisodesView({
E{ep.number}
</span>
{!isAired && (
<span className="text-video-context-type-main/70 text-sm">
<span className="bg-video-context-hoverColor/50 text-video-context-type-main/80 text-sm px-1 py-0.5 rounded-md">
{ep.air_date
? `(${t("details.airs")} - ${new Date(ep.air_date).toLocaleDateString()})`
: `(${t("media.unreleased")})`}
@ -575,7 +575,7 @@ export function EpisodesView({
E{ep.number}
</span>
{!isAired && (
<span className="text-video-context-type-main/70 text-sm">
<span className="bg-video-context-hoverColor/50 text-video-context-type-main/80 text-sm px-1 py-0.5 rounded-md">
{ep.air_date
? `(${t("details.airs")} - ${new Date(ep.air_date).toLocaleDateString()})`
: `(${t("media.unreleased")})`}