fix: style error about model close icon button postion (#777)

This commit is contained in:
DiamondThree authored and GitHub committed 2023-02-03 06:16:48 +00:00
1 parent 7a7a339938
commit 76d52bd2fd
1 file changed
+1 -1
@@ -13,7 +13,7 @@ const StyledIconButton = styled(IconButton)<
Pick<ModalCloseButtonProps, 'top' | 'right'> Pick<ModalCloseButtonProps, 'top' | 'right'>
>(({ top, right }) => { >(({ top, right }) => {
return { return {
position: top ? 'absolute' : 'unset', position: 'absolute',
top: top ?? 24, top: top ?? 24,
right: right ?? 40, right: right ?? 40,
}; };