fix visual bugs with udate-account-form
This commit is contained in:
@@ -202,7 +202,7 @@ export function UpdateAccountForm({
|
|||||||
<FormField
|
<FormField
|
||||||
name="weight"
|
name="weight"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem className="flex-1 basis-0">
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
<Trans i18nKey={'common:formField:weight'} />
|
<Trans i18nKey={'common:formField:weight'} />
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
@@ -229,7 +229,7 @@ export function UpdateAccountForm({
|
|||||||
<FormField
|
<FormField
|
||||||
name="height"
|
name="height"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem className="flex-1 basis-0">
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
<Trans i18nKey={'common:formField:height'} />
|
<Trans i18nKey={'common:formField:height'} />
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
|
|||||||
@@ -41,8 +41,8 @@ async function UpdateAccount() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="border-border flex max-w-5xl flex-row overflow-hidden rounded-3xl border">
|
<div className="border-border xs:w-3/5 flex w-9/10 flex-row overflow-hidden rounded-3xl border md:w-[988px]">
|
||||||
<div className="relative flex w-full flex-col px-12 pt-7 pb-22 text-center">
|
<div className="xs:px-6 relative flex w-full flex-col pt-7 pb-22 text-center md:w-1/2 md:px-12">
|
||||||
<BackButton onBack={signOutAction} />
|
<BackButton onBack={signOutAction} />
|
||||||
<MedReportLogo />
|
<MedReportLogo />
|
||||||
<h1 className="pt-8">
|
<h1 className="pt-8">
|
||||||
@@ -56,7 +56,7 @@ async function UpdateAccount() {
|
|||||||
isEmailUser={isEmailUser}
|
isEmailUser={isEmailUser}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="hidden w-1/2 min-w-[460px] bg-[url(/assets/med-report-logo-big.png)] bg-cover bg-center bg-no-repeat md:block"></div>
|
<div className="hidden w-1/2 bg-[url(/assets/med-report-logo-big.png)] bg-cover bg-center bg-no-repeat md:block"></div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user