client: fix style

This commit is contained in:
fantasticit 2022-08-13 13:01:59 +08:00
parent 880d942066
commit 93d97b2f91
1 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@ export const DocumentVersion: React.FC<Partial<IProps>> = ({ documentId, onSelec
})}
</Select>
<div style={{ paddingLeft: '8px' }}></div>
<Space style={{ position: 'absolute', right: '240px' }}>
<Space style={{ marginLeft: 12 }}>
<Tag style={{ backgroundColor: '#e9ffe9' }}></Tag>
<Tag style={{ backgroundColor: '#ffeaea' }}></Tag>
</Space>
@ -148,8 +148,8 @@ export const DocumentVersion: React.FC<Partial<IProps>> = ({ documentId, onSelec
empty={!loading && !data.length}
normalContent={() => (
<div className={styles.contentWrap}>
<main className={cls(isMobile && styles.isMobile)}>
<div className={'container'}>
<main className={cls('container', isMobile && styles.isMobile)}>
<div>
{diffVersion ? (
<div id="diff-visual" className="ProseMirror"></div>
) : (