Skip to content

Commit

Permalink
update flow-graph style (#68)
Browse files Browse the repository at this point in the history
Co-authored-by: 乔风鳞 <[email protected]>
  • Loading branch information
qiaofenlin and 乔风鳞 authored Aug 6, 2024
1 parent f8f0490 commit ea00ca6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion flow-graph/src/components/FlowGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
.sider {
position: relative;
z-index: 4;
border: 1px solid rgb(0 0 0 / 8%);
background-color: #f7f9fb;
Expand Down
4 changes: 4 additions & 0 deletions flow-graph/src/components/NodesBar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
</script>

<style lang="less" scoped>
.title {
text-align: center;
height: 38px;
Expand All @@ -108,6 +109,9 @@
}
.context {
margin: 10px;
width: 200px;
height: 900px;
overflow: auto;
.tab-pane {
margin-top: 10px;
Expand Down
2 changes: 1 addition & 1 deletion flow-graph/src/models/X6FlowGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class X6FlowGraph implements FlowGraph {
if (opt !== OptEnum.CREATE) {
this.initGraphCells();
}
this.graph.resize(document.body.offsetWidth, document.body.offsetHeight);
this.graph.resize(document.body.offsetWidth, document.body.offsetHeight * 0.85);
}

public addEdge(rillEdge: Edge) {
Expand Down

0 comments on commit ea00ca6

Please sign in to comment.