mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-11 17:55:33 +00:00
improve unreleased air date text clarity
This commit is contained in:
parent
bd9ff1698f
commit
5c25810c2e
2 changed files with 3 additions and 3 deletions
|
|
@ -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")})`}
|
||||
|
|
|
|||
|
|
@ -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")})`}
|
||||
|
|
|
|||
Loading…
Reference in a new issue