mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 21:20:28 +00:00
refactor: 优化 hover 节点名称时的 UI
This commit is contained in:
parent
fb93b8afeb
commit
0105365651
@ -6,7 +6,6 @@
|
||||
margin-right: 2px;
|
||||
color: var(--color-icon-white, @title-bgcolor);
|
||||
border-radius: @global-border-radius;
|
||||
margin-right: 2px;
|
||||
pointer-events: auto;
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
@ -45,7 +44,8 @@
|
||||
visibility: hidden;
|
||||
}
|
||||
.instance-node-selector-node {
|
||||
margin: 2px 0;
|
||||
height: 20px;
|
||||
margin-top: 2px;
|
||||
&-content {
|
||||
padding-left: 6px;
|
||||
background: #78869a;
|
||||
|
||||
@ -114,7 +114,7 @@ export default class InstanceNodeSelector extends React.Component<IProps, IState
|
||||
</div>
|
||||
}
|
||||
triggerType="hover"
|
||||
offset={[0, 2]}
|
||||
offset={[0, 0]}
|
||||
>
|
||||
<div className="instance-node-selector">{this.renderNodes(node)}</div>
|
||||
</Popup>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user