mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-19 07:17:00 +08:00
fix: blockhub position (#1767)
This commit is contained in:
@@ -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',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user