mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-28 11:53:24 +03:00
fix: close icon postion error
This commit is contained in:
parent
c61be05944
commit
efddd3ddb5
@ -93,7 +93,8 @@ const StyleTips = styled('div')(() => {
|
||||
return {
|
||||
userSelect: 'none',
|
||||
width: '400px',
|
||||
marginBottom: '32px',
|
||||
margin: 'auto',
|
||||
marginBottom: '24px',
|
||||
marginTop: '16px',
|
||||
};
|
||||
});
|
||||
|
@ -13,7 +13,7 @@ const StyledIconButton = styled(IconButton)<
|
||||
Pick<ModalCloseButtonProps, 'top' | 'right'>
|
||||
>(({ top, right }) => {
|
||||
return {
|
||||
position: 'absolute',
|
||||
position: top ? 'absolute' : 'unset',
|
||||
top: top ?? 24,
|
||||
right: right ?? 40,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user