mirror of https://github.com/fantasticit/think.git
fix: 修改没有权限时点击预览按钮出现问题,全屏样式
This commit is contained in:
parent
e7772bbc3b
commit
b92f7b4ffe
|
@ -91,15 +91,20 @@
|
||||||
|
|
||||||
.fullScreenToolbar {
|
.fullScreenToolbar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 40px;
|
bottom: 10px;
|
||||||
left: 50%;
|
left: 10px;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
background-color: rgb(var(--semi-grey-9));
|
background-color: rgb(var(--semi-grey-9));
|
||||||
border-radius: var(--semi-border-radius-medium);
|
border-radius: var(--semi-border-radius-medium);
|
||||||
transform: translateX(-50%);
|
opacity: 0.1;
|
||||||
transition: opacity 0.3s ease-in-out;
|
transition: opacity 0.3s ease-in-out;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
opacity: 1;
|
||||||
|
transition: opacity 0.3s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
.selected {
|
.selected {
|
||||||
background-color: rgb(var(--semi-grey-8)) !important;
|
background-color: rgb(var(--semi-grey-8)) !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -149,7 +149,7 @@ export const DocumentPublicReader: React.FC<IProps> = ({ documentId, hideLogo =
|
||||||
}
|
}
|
||||||
footer={
|
footer={
|
||||||
<Space>
|
<Space>
|
||||||
{!isMobile && <DocumentFullscreen data={data}/>}
|
{!isMobile && data && <DocumentFullscreen data={data}/>}
|
||||||
<Tooltip content={currentWikiId ? '独立模式' : '嵌入模式'}>
|
<Tooltip content={currentWikiId ? '独立模式' : '嵌入模式'}>
|
||||||
<Button theme="borderless" type="tertiary" icon={<IconRoute />} onClick={toPublicWikiOrDocumentURL} />
|
<Button theme="borderless" type="tertiary" icon={<IconRoute />} onClick={toPublicWikiOrDocumentURL} />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
Loading…
Reference in New Issue