mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 10:22:55 +08: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'>
|
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,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user