Skip to content

Commit

Permalink
[기능] 노드 리사이저 시각화 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeap authored Jul 31, 2023
2 parents aa687e9 + 111901d commit bf3ea4e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
18 changes: 13 additions & 5 deletions src/components/aws/ResourceNodeCommon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,17 @@ const onRemove = () => {
variant="plain"
/>
</div>
<NodeResizer
line-style="visibility: hidden"
min-width="100"
min-height="30"
/>
<NodeResizer min-width="100" min-height="30" />
</template>

<style>
.vue-flow__resize-control.line {
opacity: 0;
}
.vue-flow__resize-control.handle {
opacity: 50%;
background-color: #252f3e !important;
height: 5px !important;
width: 5px !important;
}
</style>
18 changes: 9 additions & 9 deletions src/styles/nodeflow.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
content: '';
position: absolute;
top: -10px;
left: -1px;
left: 3px;
height: 10px;
width: 30%;
}
Expand Down Expand Up @@ -44,7 +44,7 @@
background: #2ca138;
position: absolute;
top: -10px;
left: -1px;
left: 3px;
height: 10px;
width: 30%;
}
Expand All @@ -61,7 +61,7 @@
background: #f68536;
position: absolute;
top: -10px;
left: -1px;
left: 3px;
height: 10px;
width: 30%;
}
Expand All @@ -78,7 +78,7 @@
background: #f68536;
position: absolute;
top: -10px;
left: -1px;
left: 3px;
height: 10px;
width: 30%;
}
Expand All @@ -96,7 +96,7 @@
background: #f68536;
position: absolute;
top: -10px;
left: -1px;
left: 3px;
height: 10px;
width: 30%;
}
Expand All @@ -113,7 +113,7 @@
background: #f68536;
position: absolute;
top: -10px;
left: -1px;
left: 3px;
height: 10px;
width: 30%;
}
Expand All @@ -130,7 +130,7 @@
background: #2ca138;
position: absolute;
top: -10px;
left: -1px;
left: 3px;
height: 10px;
width: 50px;
}
Expand All @@ -147,7 +147,7 @@
background: #2ca138;
position: absolute;
top: -10px;
left: -1px;
left: 3px;
height: 10px;
width: 50px;
}
Expand All @@ -164,7 +164,7 @@
background: #0d7317;
position: absolute;
top: -10px;
left: -1px;
left: 3px;
height: 10px;
width: 30%;
}

0 comments on commit bf3ea4e

Please sign in to comment.