mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
fix: style error about model close icon button postion (#777)
This commit is contained in:
@@ -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