client: fix style

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