style: 流程名块相对工具栏整体绝对居中
This commit is contained in:
parent
f2eb449b87
commit
a7c74b85a0
@ -591,6 +591,7 @@ textarea:focus-visible {
|
||||
gap: 10px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: rgba(255, 255, 255, 0.94);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.canvas-toolbar .spacer {
|
||||
@ -615,6 +616,11 @@ textarea:focus-visible {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
/* 相对整个工具栏绝对居中,不受左右两区宽度差影响 */
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.flow-name {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user