chore: update temp disable affine cloud modal style (#2046)

This commit is contained in:
JimmFly
2023-04-20 15:27:26 +08:00
committed by GitHub
parent 227f59cadc
commit 65c1bee7f0
6 changed files with 208 additions and 165 deletions
+16 -12
View File
@@ -1,14 +1,18 @@
import type { CSSProperties } from 'react';
import { displayFlex, styled } from '../../styles';
export const StyledEmptyContainer = styled('div')(() => {
return {
height: '100%',
...displayFlex('center', 'center'),
flexDirection: 'column',
'.empty-img': {
width: '320px',
height: '280px',
},
};
});
export const StyledEmptyContainer = styled('div')<{ style?: CSSProperties }>(
({ style }) => {
return {
height: '100%',
...displayFlex('center', 'center'),
flexDirection: 'column',
svg: {
width: style?.width ?? '320px',
height: style?.height ?? '280px',
fontSize: style?.fontSize ?? 'inherit',
},
};
}
);