fix: center toast in main content (#1683)

This commit is contained in:
Qi
2023-03-25 01:22:10 +08:00
committed by GitHub
parent 40903a9070
commit 6d13716e97
2 changed files with 10 additions and 6 deletions

View File

@@ -201,7 +201,7 @@ export const WorkspaceLayoutInner: React.FC<React.PropsWithChildren> = ({
currentPath={router.asPath}
paths={isPublicWorkspace ? publicPathGenerator : pathGenerator}
/>
<StyledWrapper>
<StyledWrapper className="main-container">
<AffineWorkspaceEffect />
{children}
<StyledToolWrapper>