fix(ui): fix label formatting in general user settings (#1275)

pull/1278/head
TheCatLady 4 years ago committed by GitHub
parent 6c75c88228
commit 8546b0ef53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,9 +156,9 @@ const UserGeneralSettings: React.FC = () => {
return ( return (
<Form className="section"> <Form className="section">
<div className="form-row"> <div className="form-row">
<div className="text-label"> <label className="text-label">
{intl.formatMessage(messages.accounttype)} {intl.formatMessage(messages.accounttype)}
</div> </label>
<div className="mb-1 text-sm font-medium leading-5 text-gray-400 sm:mt-2"> <div className="mb-1 text-sm font-medium leading-5 text-gray-400 sm:mt-2">
<div className="flex items-center max-w-lg"> <div className="flex items-center max-w-lg">
{user?.userType === UserType.PLEX ? ( {user?.userType === UserType.PLEX ? (
@ -174,9 +174,9 @@ const UserGeneralSettings: React.FC = () => {
</div> </div>
</div> </div>
<div className="form-row"> <div className="form-row">
<div className="text-label"> <label className="text-label">
{intl.formatMessage(messages.role)} {intl.formatMessage(messages.role)}
</div> </label>
<div className="mb-1 text-sm font-medium leading-5 text-gray-400 sm:mt-2"> <div className="mb-1 text-sm font-medium leading-5 text-gray-400 sm:mt-2">
<div className="flex items-center max-w-lg"> <div className="flex items-center max-w-lg">
{user?.id === 1 {user?.id === 1

Loading…
Cancel
Save