refactor(frontend): force movie/series tag on titlecard to be uppercase

pull/193/head
sct 4 years ago
parent 96f3861c90
commit a0e594a292

@ -93,7 +93,7 @@ const TitleCard: React.FC<TitleCardProps> = ({
mediaType === 'movie' ? 'bg-blue-500' : 'bg-purple-600' mediaType === 'movie' ? 'bg-blue-500' : 'bg-purple-600'
}`} }`}
> >
<div className="flex items-center text-center text-xs text-white h-4 px-2 py-1 font-normal"> <div className="flex items-center text-center text-xs text-white h-4 px-2 py-1 font-normal uppercase">
{mediaType === 'movie' {mediaType === 'movie'
? intl.formatMessage(messages.movie) ? intl.formatMessage(messages.movie)
: intl.formatMessage(messages.tvshow)} : intl.formatMessage(messages.tvshow)}

Loading…
Cancel
Save