fix(style): cluster state do not display
This commit is contained in:
@@ -50,7 +50,8 @@ const icons = {
|
||||
Yaml: React.createElement(IconFont, { type: 'icon-code_block' }),
|
||||
Version: React.createElement(IconFont, { type: 'icon-version' }),
|
||||
Parameter: React.createElement(IconFont, { type: 'icon-parameters' }),
|
||||
Private: React.createElement(IconFont, { type: 'icon-private' })
|
||||
Private: React.createElement(IconFont, { type: 'icon-private' }),
|
||||
AWS: React.createElement(IconFont, { type: 'icon-aws' })
|
||||
};
|
||||
|
||||
export default icons;
|
||||
|
||||
@@ -2,7 +2,7 @@ import { createFromIconfontCN } from '@ant-design/icons';
|
||||
// import './iconfont/iconfont.js';
|
||||
|
||||
const IconFont = createFromIconfontCN({
|
||||
scriptUrl: '//at.alicdn.com/t/c/font_4613488_lg2z989p7f.js'
|
||||
scriptUrl: '//at.alicdn.com/t/c/font_4613488_ab78o2vlum.js'
|
||||
});
|
||||
|
||||
export default IconFont;
|
||||
|
||||
@@ -3,6 +3,8 @@ import React from 'react';
|
||||
|
||||
interface CatalogSkeltonProps {
|
||||
span: number;
|
||||
skeletonProps?: any;
|
||||
skeletonStyle?: React.CSSProperties;
|
||||
}
|
||||
|
||||
const CardSkelton: React.FC<CatalogSkeltonProps> = (props) => {
|
||||
@@ -21,8 +23,10 @@ const CardSkelton: React.FC<CatalogSkeltonProps> = (props) => {
|
||||
style={{
|
||||
border: '1px solid var(--ant-color-border)',
|
||||
borderRadius: 'var(--border-radius-base)',
|
||||
padding: '16px 16px'
|
||||
padding: '16px 16px',
|
||||
...props.skeletonStyle
|
||||
}}
|
||||
{...(props.skeletonProps || {})}
|
||||
></Skeleton>
|
||||
</Col>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user