Get rid of the scrollbars in SnapshotEditor
This commit is contained in:
parent
3f2a9032f1
commit
9dfe912f65
3 changed files with 12 additions and 6 deletions
|
@ -74,12 +74,14 @@ const Wrapper = styled.div`
|
|||
right: 0px;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
overflow: hidden;
|
||||
`
|
||||
|
||||
const CanvasWrapper = styled.div`
|
||||
display: relative;
|
||||
z-index: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
`
|
||||
|
||||
const Overlay = styled.div`
|
||||
|
@ -138,7 +140,7 @@ const SnapshotEditor: React.FC<{paneId: string}> = (props) => {
|
|||
if (!editorObject) return <></>
|
||||
|
||||
return (
|
||||
<root.div>
|
||||
<root.div style={{overflow: 'hidden'}}>
|
||||
<StyleSheetManager disableVendorPrefixes>
|
||||
<>
|
||||
<GlobalStyle />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue