mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 11:36:25 +08:00
chore: update temp disable affine cloud modal style (#2046)
This commit is contained in:
@@ -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',
|
||||
},
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user