✨ feat(ui): Update input components and enhance card minimum width for better layout
This commit is contained in:
parent
574b043be6
commit
8a02310752
@ -299,14 +299,14 @@ export default function Page() {
|
|||||||
</p>
|
</p>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell className='text-right'>
|
<TableCell className='text-right'>
|
||||||
<Textarea
|
<EnhancedInput
|
||||||
defaultValue={data?.config?.platform_config?.phone_number ?? ''}
|
value={data?.config?.platform_config?.phone_number ?? ''}
|
||||||
onBlur={(e) =>
|
onValueBlur={(value) =>
|
||||||
updateConfig('config', {
|
updateConfig('config', {
|
||||||
...data?.config,
|
...data?.config,
|
||||||
platform_config: {
|
platform_config: {
|
||||||
...data?.config?.platform_config,
|
...data?.config?.platform_config,
|
||||||
phone_number: e.target.value,
|
phone_number: value,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,7 +34,7 @@ export default function ChangePassword() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card>
|
<Card className='min-w-80'>
|
||||||
<CardHeader className='bg-muted/50'>
|
<CardHeader className='bg-muted/50'>
|
||||||
<CardTitle className='flex items-center justify-between'>
|
<CardTitle className='flex items-center justify-between'>
|
||||||
{t('accountSettings')}
|
{t('accountSettings')}
|
||||||
|
|||||||
@ -39,7 +39,7 @@ export default function NotifySettings() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card className='min-w-60'>
|
<Card className='min-w-80'>
|
||||||
<CardHeader className='bg-muted/50'>
|
<CardHeader className='bg-muted/50'>
|
||||||
<CardTitle className='flex items-center justify-between'>
|
<CardTitle className='flex items-center justify-between'>
|
||||||
{t('notify.notificationSettings')}
|
{t('notify.notificationSettings')}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user