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

View File

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