Skip to content

Commit

Permalink
fix: fix Platform BPMN editor styles
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme authored and nikku committed Dec 9, 2021
1 parent 976402e commit 9cf9553
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 20 deletions.
26 changes: 14 additions & 12 deletions client/src/app/tabs/bpmn/BpmnEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -759,18 +759,20 @@ export class BpmnEditor extends CachedComponent {

<Loader hidden={ imported && !importing } />

<div
className="diagram"
ref={ this.ref }
onFocus={ this.handleChanged }
onContextMenu={ this.handleContextMenu }
></div>

<PropertiesContainer
className="properties"
layout={ layout }
ref={ this.propertiesPanelRef }
onLayoutChanged={ onLayoutChanged } />
<div className="editor">
<div
className="diagram"
ref={ this.ref }
onFocus={ this.handleChanged }
onContextMenu={ this.handleContextMenu }
></div>

<PropertiesContainer
className="properties"
layout={ layout }
ref={ this.propertiesPanelRef }
onLayoutChanged={ onLayoutChanged } />
</div>

{ engineProfile && <EngineProfile
type="bpmn"
Expand Down
19 changes: 11 additions & 8 deletions client/src/app/tabs/bpmn/BpmnEditor.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@
flex: 1;
overflow: hidden;

flex-direction: row;
flex-direction: column;

.diagram {
.editor {
flex: 1;
position: relative;
}

.properties {
flex: none;
display: flex;
flex-direction: row;

.toggle {
top: 350px;
.diagram {
flex: 1;
position: relative;
}

.properties {
flex: none;
}
}

Expand Down

0 comments on commit 9cf9553

Please sign in to comment.