client: update height

This commit is contained in:
fantasticit 2022-06-21 22:30:39 +08:00
parent fa91f87675
commit 8543c77e06
4 changed files with 4 additions and 4 deletions

View File

@ -51,6 +51,8 @@
}
.transferWrap {
margin-top: 16px;
width: 100%;
height: calc(100vh - 268px);
overflow: auto;
}

View File

@ -82,12 +82,11 @@ export const WikiDocumentsShare: React.FC<IProps> = ({ wikiId }) => {
type="info"
icon={null}
closeIcon={null}
title={<Title heading={5}></Title>}
description={<Text></Text>}
/>
<div className={styles.transferWrap}>
<Transfer
style={{ width: '100%', marginTop: 16 }}
style={{ width: '100%', height: '100%' }}
dataSource={documents}
filter={customFilter}
value={publicDocumentIds}

View File

@ -2,7 +2,7 @@
margin-top: 5px;
.tocsWrap {
height: 560px;
height: calc(100vh - 268px);
overflow: auto;
border: 1px solid var(--semi-color-border);
border-radius: var(--border-radius);

View File

@ -120,7 +120,6 @@ export const WikiTocsManager: React.FC<IProps> = ({ wikiId }) => {
type="info"
icon={null}
closeIcon={null}
title={<Title heading={5}></Title>}
description={<Text></Text>}
style={{ marginBottom: 16 }}
/>