Make width of profile tab conform to designs

This commit is contained in:
Robin Townsend 2023-05-22 13:59:18 -04:00
parent 6560d9eb1a
commit 85380c8142
2 changed files with 7 additions and 1 deletions

View file

@ -14,6 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
.content {
width: 100%;
max-width: 350px;
align-self: center;
}
.avatarFieldRow { .avatarFieldRow {
justify-content: center; justify-content: center;
} }

View file

@ -74,7 +74,7 @@ export function ProfileSettingsTab({ client }: Props) {
); );
return ( return (
<form onSubmit={onSubmit}> <form onSubmit={onSubmit} className={styles.content}>
<FieldRow className={styles.avatarFieldRow}> <FieldRow className={styles.avatarFieldRow}>
<AvatarInputField <AvatarInputField
id="avatar" id="avatar"