From 5717d126eeceb549fd95015a67ebc484e9ed8ba8 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Fri, 31 Mar 2023 12:10:25 +0800 Subject: [PATCH] fix: blockhub position (#1767) --- apps/web/src/layouts/styles.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/web/src/layouts/styles.ts b/apps/web/src/layouts/styles.ts index 3a05225872..547b4f935f 100644 --- a/apps/web/src/layouts/styles.ts +++ b/apps/web/src/layouts/styles.ts @@ -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', }, }; });