style: cluster creation modal

This commit is contained in:
jialin
2026-01-06 17:21:32 +08:00
parent 0f7a475ec9
commit d51f00d35d
18 changed files with 224 additions and 98 deletions
@@ -1,4 +1,4 @@
import { LeftOutlined, RightOutlined } from '@ant-design/icons';
import { ArrowLeftOutlined, ArrowRightOutlined } from '@ant-design/icons';
import { useIntl } from '@umijs/max';
import { Button } from 'antd';
import styled from 'styled-components';
@@ -37,10 +37,14 @@ const FooterButtons: React.FC<FooterButtonsProps> = (props) => {
onNext();
};
return (
<Title style={{ padding: '16px 24px 32px' }}>
<Title style={{ padding: '16px 24px 24px' }}>
<div className="flex-center gap-20">
{showButtons.previous && (
<Button type="default" icon={<LeftOutlined />} onClick={onPrevious}>
<Button
type="default"
icon={<ArrowLeftOutlined />}
onClick={onPrevious}
>
{intl.formatMessage({ id: 'common.button.prev' })}
</Button>
)}
@@ -51,7 +55,7 @@ const FooterButtons: React.FC<FooterButtonsProps> = (props) => {
style={{ minWidth: 100 }}
>
{intl.formatMessage({ id: 'common.button.next' })}
<RightOutlined />
<ArrowRightOutlined />
</Button>
)}
{showButtons.skip && (