update style

This commit is contained in:
Qiuxia Fan 2022-03-28 12:12:50 +08:00
parent e0f4a8fc2e
commit fe3a40e397
2 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ span.collapse {
color: #eee;
font-size: 12px;
cursor: pointer;
padding-left: 10px;
padding-left: 23px;
margin-bottom: 10px;
}
</style>

View File

@ -221,7 +221,7 @@ function dragended(d: any) {
function handleNodeClick(d: Node & { x: number; y: number }) {
topologyStore.setNode(d);
topologyStore.setLink(null);
operationsPos.x = d.x;
operationsPos.x = d.x - 100;
operationsPos.y = d.y - 70;
if (d.layer === String(dashboardStore.layerId)) {
return;