mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-06 11:40:28 -05:00
✨ 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>
|
||||
</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,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
@ -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')}
|
||||
|
||||
@ -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')}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user