Commit 76a03a83 by 伍闲犬 Committed by GitHub

fix: incorrect popover position (#5568)

parent 6e8bf8c8
...@@ -330,6 +330,7 @@ const FavouriteAppSetting = ({ Header }: Props) => { ...@@ -330,6 +330,7 @@ const FavouriteAppSetting = ({ Header }: Props) => {
{/* action */} {/* action */}
<Td p="0" w="0" textAlign="center"> <Td p="0" w="0" textAlign="center">
<Box w="158px">
<PopoverConfirm <PopoverConfirm
type="delete" type="delete"
content={t('chat:setting.favourite.delete_app_confirm')} content={t('chat:setting.favourite.delete_app_confirm')}
...@@ -346,7 +347,6 @@ const FavouriteAppSetting = ({ Header }: Props) => { ...@@ -346,7 +347,6 @@ const FavouriteAppSetting = ({ Header }: Props) => {
}); });
}} }}
Trigger={ Trigger={
<Box w="158px">
<IconButton <IconButton
size="sm" size="sm"
aria-label="delete" aria-label="delete"
...@@ -356,9 +356,9 @@ const FavouriteAppSetting = ({ Header }: Props) => { ...@@ -356,9 +356,9 @@ const FavouriteAppSetting = ({ Header }: Props) => {
<MyIcon name="common/trash" w="20px" color="myGray.400" /> <MyIcon name="common/trash" w="20px" color="myGray.400" />
} }
/> />
</Box>
} }
/> />
</Box>
</Td> </Td>
</Tr> </Tr>
)} )}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment