Merge pull request #158 from fantasticit/fix/0813

This commit is contained in:
fantasticit 2022-08-13 13:03:16 +08:00 committed by GitHub
commit 5d328c61fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 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>
) : (

View File

@ -159,8 +159,6 @@ export const Dragable = Extension.create({
return false;
}
console.log(result);
renderDragHandleDOM(view, result.el);
return false;
},