feat(ui): Update input components and enhance card minimum width for better layout

This commit is contained in:
web@ppanel 2025-02-14 15:49:34 +07:00
parent 574b043be6
commit 8a02310752
3 changed files with 6 additions and 6 deletions

View File

@ -299,14 +299,14 @@ export default function Page() {
</p>
</TableCell>
<TableCell className='text-right'>
<Textarea
defaultValue={data?.config?.platform_config?.phone_number ?? ''}
onBlur={(e) =>
<EnhancedInput
value={data?.config?.platform_config?.phone_number ?? ''}
onValueBlur={(value) =>
updateConfig('config', {
...data?.config,
platform_config: {
...data?.config?.platform_config,
phone_number: e.target.value,
phone_number: value,
},
})
}

View File

@ -34,7 +34,7 @@ export default function ChangePassword() {
}
return (
<Card>
<Card className='min-w-80'>
<CardHeader className='bg-muted/50'>
<CardTitle className='flex items-center justify-between'>
{t('accountSettings')}

View File

@ -39,7 +39,7 @@ export default function NotifySettings() {
}
return (
<Card className='min-w-60'>
<Card className='min-w-80'>
<CardHeader className='bg-muted/50'>
<CardTitle className='flex items-center justify-between'>
{t('notify.notificationSettings')}