fix: blockhub position (#1767)

This commit is contained in:
Peng Xiao 2023-03-31 12:10:25 +08:00 committed by GitHub
parent bd67554f5e
commit 5717d126ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,11 +48,15 @@ export const MainContainer = styled('div')(({ theme }) => {
export const StyledToolWrapper = styled('div')(({ theme }) => {
return {
position: 'fixed',
right: 'calc((100vw - 640px) * 3 / 19 + 5px)',
right: '30px',
bottom: '30px',
zIndex: theme.zIndex.popover,
[theme.breakpoints.down('md')]: {
right: '30px',
right: 'calc((100vw - 640px) * 3 / 19 + 5px)',
},
[theme.breakpoints.down('sm')]: {
right: '5px',
bottom: '5px',
},
};
});