Skip to content

Commit

Permalink
fix(ui): center role under title cards on person detail pages (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCatLady committed Mar 17, 2021
1 parent 54429bb commit 4a61518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PersonDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const PersonDetails: React.FC = () => {
canExpand
/>
{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, {
character: media.character,
})}
Expand Down Expand Up @@ -150,7 +150,7 @@ const PersonDetails: React.FC = () => {
canExpand
/>
{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}
</div>
)}
Expand Down

0 comments on commit 4a61518

Please sign in to comment.