diff --git a/packages/client/src/components/document/collaboration/index.tsx b/packages/client/src/components/document/collaboration/index.tsx index 1146672..7ff24a7 100644 --- a/packages/client/src/components/document/collaboration/index.tsx +++ b/packages/client/src/components/document/collaboration/index.tsx @@ -144,7 +144,7 @@ export const DocumentCollaboration: React.FC = ({ wikiId, documentId, di visible={visible} onVisibleChange={toggleVisible} trigger="click" - position={isMobile ? 'top' : 'bottomLeft'} + position={isMobile ? 'topRight' : 'bottomLeft'} style={{ width: 376, maxWidth: '80vw' }} content={ diff --git a/packages/client/src/components/document/reader/public/index.tsx b/packages/client/src/components/document/reader/public/index.tsx index 47d60bd..fee73be 100644 --- a/packages/client/src/components/document/reader/public/index.tsx +++ b/packages/client/src/components/document/reader/public/index.tsx @@ -118,10 +118,10 @@ export const DocumentPublicReader: React.FC = ({ documentId, hideLogo = mode="horizontal" header={ !hideLogo && !isMobile ? ( - <> + - + ) : null } footer={ @@ -137,7 +137,7 @@ export const DocumentPublicReader: React.FC = ({ documentId, hideLogo = error={error} loadingContent={} loading={true} />} normalContent={() => ( - + {data?.wiki?.name}