Skip to content

Commit 74aa02e

Browse files
authored
Merge pull request #739 from GraphScope/fix-styles-result
fix: Modify spacing variable
2 parents 1e85de9 + 935f505 commit 74aa02e

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

packages/studio-components/src/Provider/getThemeConfig.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ export const getThemeConfig = (algorithm: ThemeProviderType['algorithm']) => {
3838
Result: {
3939
iconFontSize: 62,
4040
titleFontSize: 20,
41-
paddingLG: 0,
42-
marginXS: 0,
4341
colorError: isLight ? '#00000073' : '#ddd',
4442
},
4543
};

packages/studio-website/src/pages/instance/lists/empty.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import CreateInstance from '../create';
77
const { Text, Title } = Typography;
88
const ServerNotAvailable: React.FC = () => {
99
return (
10-
<Row gutter={[12, 12]}>
10+
<Row >
1111
<Col span={24} >
1212
<Card>
1313
<Flex >
14-
<Result status="404" />
14+
<Result status="404" style={{padding: '0 20px 0 0', margin: 0}}/>
1515
<Flex vertical>
1616
<br/>
1717
<Title level={3}>

packages/studio-website/src/pages/instance/lists/server-not-available.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ import { Row, Col, Card, Result, Flex, ConfigProvider, Typography, theme } from
33
import { FormattedMessage } from 'react-intl';
44

55
const { Text, Title } = Typography;
6-
76
const ServerNotAvailable: React.FC = () => {
87
const { token } = theme.useToken();
98
return (
10-
<Row gutter={[12, 12]}>
9+
<Row >
1110
<Col span={24}>
1211
<Card>
1312
<Flex>
14-
<Result status="404" />
15-
<Flex vertical justify="flex-start" style={{ flex: 1 }}>
13+
<Result status="404" style={{padding: '0 20px 0 0',margin: 0}}/>
14+
<Flex vertical justify="flex-start" style={{ flex: 1, paddingTop: 10 }}>
1615
<Title level={3}>
1716
<FormattedMessage id="No available Coordinator service" />
1817
</Title>

0 commit comments

Comments
 (0)