mirror of https://github.com/fantasticit/think.git
client: fix style
This commit is contained in:
parent
880d942066
commit
93d97b2f91
|
@ -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>
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in New Issue