feat: modify import modal

This commit is contained in:
QiShaoXuan
2022-12-13 17:16:52 +08:00
parent 300ec613c7
commit 6cb552d62f
4 changed files with 27 additions and 16 deletions
+3 -1
View File
@@ -4,10 +4,12 @@ import { styled } from '@/styles';
export const ModalWrapper = styled.div<{
width?: CSSProperties['width'];
height?: CSSProperties['height'];
}>(({ theme, width, height }) => {
minHeight?: CSSProperties['minHeight'];
}>(({ theme, width, height, minHeight }) => {
return {
width,
height,
minHeight,
backgroundColor: theme.colors.popoverBackground,
borderRadius: '12px',
position: 'relative',