fix: style error about model close icon button postion (#777)
This commit is contained in:
1 parent
7a7a339938
commit
76d52bd2fd
1 file changed
+1
-1
@@ -13,7 +13,7 @@ const StyledIconButton = styled(IconButton)<
|
||||
Pick<ModalCloseButtonProps, 'top' | 'right'>
|
||||
>(({ top, right }) => {
|
||||
return {
|
||||
position: top ? 'absolute' : 'unset',
|
||||
position: 'absolute',
|
||||
top: top ?? 24,
|
||||
right: right ?? 40,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user