mirror of
https://github.com/fantasticit/think.git
synced 2026-10-31 15:11:38 +08:00
Merge pull request #164 from lixiaoming-bit/fix/doc-fullscreen
This commit is contained in:
@@ -91,15 +91,20 @@
|
||||
|
||||
.fullScreenToolbar {
|
||||
position: fixed;
|
||||
bottom: 40px;
|
||||
left: 50%;
|
||||
bottom: 10px;
|
||||
left: 10px;
|
||||
z-index: 2;
|
||||
padding: 12px;
|
||||
background-color: rgb(var(--semi-grey-9));
|
||||
border-radius: var(--semi-border-radius-medium);
|
||||
transform: translateX(-50%);
|
||||
opacity: 0.1;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.selected {
|
||||
background-color: rgb(var(--semi-grey-8)) !important;
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ export const DocumentPublicReader: React.FC<IProps> = ({ documentId, hideLogo =
|
||||
}
|
||||
footer={
|
||||
<Space>
|
||||
{!isMobile && <DocumentFullscreen data={data}/>}
|
||||
{!isMobile && data && <DocumentFullscreen data={data}/>}
|
||||
<Tooltip content={currentWikiId ? '独立模式' : '嵌入模式'}>
|
||||
<Button theme="borderless" type="tertiary" icon={<IconRoute />} onClick={toPublicWikiOrDocumentURL} />
|
||||
</Tooltip>
|
||||
|
||||
Reference in New Issue
Block a user