feat: 修改样式
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { updateUserPassword } from '@/services/user/user';
|
||||
import { zodResolver } from '@hookform/resolvers/zod';
|
||||
import { AiroButton } from '@workspace/airo-ui/components/AiroButton';
|
||||
import { Button } from '@workspace/airo-ui/components/button';
|
||||
import { Card } from '@workspace/airo-ui/components/card';
|
||||
import {
|
||||
@@ -100,16 +101,14 @@ export default function ChangePassword() {
|
||||
</form>
|
||||
</Form>
|
||||
<div className={'mt-8 hidden justify-center sm:flex'}>
|
||||
<Button
|
||||
<AiroButton
|
||||
type='submit'
|
||||
size='sm'
|
||||
variant={'default'}
|
||||
form='password-form'
|
||||
className={
|
||||
'h-full rounded-[50px] border-0 border-[#0F2C53] bg-[#0F2C53] px-[55px] py-[9px] text-xl font-bold text-white transition hover:bg-[#225BA9] hover:text-white'
|
||||
}
|
||||
className={'h-full rounded-[50px] px-[55px] py-[9px] text-xl'}
|
||||
>
|
||||
{t('save')}
|
||||
</Button>
|
||||
</AiroButton>
|
||||
</div>
|
||||
</Card>
|
||||
);
|
||||
|
||||
@@ -5,6 +5,8 @@ import { updateUserNotify } from '@/services/user/user';
|
||||
import { zodResolver } from '@hookform/resolvers/zod';
|
||||
import { Button } from '@workspace/airo-ui/components/button';
|
||||
import { Card } from '@workspace/airo-ui/components/card';
|
||||
|
||||
import { AiroButton } from '@workspace/airo-ui/components/AiroButton';
|
||||
import {
|
||||
Form,
|
||||
FormControl,
|
||||
@@ -102,16 +104,13 @@ export default function NotifySettings() {
|
||||
</form>
|
||||
</Form>
|
||||
<div className={'mt-8 hidden justify-center sm:flex'}>
|
||||
<Button
|
||||
<AiroButton
|
||||
type='submit'
|
||||
size='sm'
|
||||
form='notify-form'
|
||||
className={
|
||||
'h-full rounded-[50px] border-0 border-[#0F2C53] bg-[#0F2C53] px-[55px] py-[9px] text-xl font-bold text-white transition hover:bg-[#225BA9] hover:text-white'
|
||||
}
|
||||
className={'h-full px-[55px] py-[9px] text-xl'}
|
||||
>
|
||||
{t('notify.save')}
|
||||
</Button>
|
||||
</AiroButton>
|
||||
</div>
|
||||
</Card>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user