fix(ui): center role under title cards on person detail pages (#1205)

pull/1201/head^2
TheCatLady 4 years ago committed by GitHub
parent 54429bbc1d
commit 4a6151873a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,7 +110,7 @@ const PersonDetails: React.FC = () => {
canExpand canExpand
/> />
{media.character && ( {media.character && (
<div className="mt-2 text-xs text-center text-gray-300 truncate w-36 sm:w-36 md:w-44"> <div className="w-full mt-2 text-xs text-center text-gray-300 truncate">
{intl.formatMessage(messages.ascharacter, { {intl.formatMessage(messages.ascharacter, {
character: media.character, character: media.character,
})} })}
@ -150,7 +150,7 @@ const PersonDetails: React.FC = () => {
canExpand canExpand
/> />
{media.job && ( {media.job && (
<div className="mt-2 text-xs text-center text-gray-300 truncate w-36 sm:w-36 md:w-44"> <div className="w-full mt-2 text-xs text-center text-gray-300 truncate">
{media.job} {media.job}
</div> </div>
)} )}

Loading…
Cancel
Save