Skip to content

Commit

Permalink
Adapt editor component style causing issues with Artemis
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaslehnertum committed Oct 29, 2023
1 parent 06953a6 commit 7a53bae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/components/canvas/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,7 @@ class EditorComponent extends Component<Props, State> {

if (this.state.isMobile) {
return (
<div
ref={this.zoomContainer}
style={{ height: '100%', width: '100%', overflow: scale > 1.0 ? 'auto' : 'hidden' }}
>
<div ref={this.zoomContainer} style={{ width: '100%', overflow: scale > 1.0 ? 'auto' : 'hidden' }}>
<StyledEditor ref={this.editor} {...props} onTouchMove={this.customScrolling} scale={scale} />
<ZoomPane
value={scale}
Expand Down

0 comments on commit 7a53bae

Please sign in to comment.