mirror of https://github.com/fantasticit/think.git
client: fix layout
This commit is contained in:
parent
c4e2a82493
commit
beb7642159
|
@ -144,7 +144,7 @@ export const DocumentCollaboration: React.FC<IProps> = ({ wikiId, documentId, di
|
||||||
visible={visible}
|
visible={visible}
|
||||||
onVisibleChange={toggleVisible}
|
onVisibleChange={toggleVisible}
|
||||||
trigger="click"
|
trigger="click"
|
||||||
position={isMobile ? 'top' : 'bottomLeft'}
|
position={isMobile ? 'topRight' : 'bottomLeft'}
|
||||||
style={{ width: 376, maxWidth: '80vw' }}
|
style={{ width: 376, maxWidth: '80vw' }}
|
||||||
content={
|
content={
|
||||||
<Tabs type="line">
|
<Tabs type="line">
|
||||||
|
|
|
@ -118,10 +118,10 @@ export const DocumentPublicReader: React.FC<IProps> = ({ documentId, hideLogo =
|
||||||
mode="horizontal"
|
mode="horizontal"
|
||||||
header={
|
header={
|
||||||
!hideLogo && !isMobile ? (
|
!hideLogo && !isMobile ? (
|
||||||
<>
|
<Space style={{ marginRight: 12 }}>
|
||||||
<LogoImage />
|
<LogoImage />
|
||||||
<LogoText />
|
<LogoText />
|
||||||
</>
|
</Space>
|
||||||
) : null
|
) : null
|
||||||
}
|
}
|
||||||
footer={
|
footer={
|
||||||
|
@ -137,7 +137,7 @@ export const DocumentPublicReader: React.FC<IProps> = ({ documentId, hideLogo =
|
||||||
error={error}
|
error={error}
|
||||||
loadingContent={<Skeleton active placeholder={<Skeleton.Title style={{ width: 80 }} />} loading={true} />}
|
loadingContent={<Skeleton active placeholder={<Skeleton.Title style={{ width: 80 }} />} loading={true} />}
|
||||||
normalContent={() => (
|
normalContent={() => (
|
||||||
<Breadcrumb>
|
<Breadcrumb >
|
||||||
<Breadcrumb.Item>
|
<Breadcrumb.Item>
|
||||||
<Link href="/share/wiki/[wikiId]" as={`/share/wiki/${data.wikiId}`}>
|
<Link href="/share/wiki/[wikiId]" as={`/share/wiki/${data.wikiId}`}>
|
||||||
<a>{data?.wiki?.name}</a>
|
<a>{data?.wiki?.name}</a>
|
||||||
|
|
Loading…
Reference in New Issue