Skip to content

Commit 951ed7c

Browse files
author
zhanbo.lh
committed
feat: 兼容 antd4 版本样式
1 parent 28f1c5d commit 951ed7c

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

packages/x-flow/src/operator/Control/index.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
99
color: #667085;
1010
margin-left: 10px;
11+
12+
.ant-btn {
13+
display: inline-flex;
14+
align-items: center;
15+
justify-content: center;
16+
}
1117
}
1218

1319
.control-item {

packages/x-flow/src/operator/UndoRedo/index.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@
88
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
99
color: #667085;
1010
margin-left: 10px;
11+
12+
.ant-btn {
13+
display: inline-flex;
14+
align-items: center;
15+
justify-content: center;
16+
}
1117
}

packages/x-flow/src/operator/ZoomInOut/index.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
background-color: #ffffff;
88
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
99
color: #667085;
10+
11+
.ant-btn {
12+
display: inline-flex;
13+
align-items: center;
14+
justify-content: center;
15+
}
1016
}
1117

1218
.fai-reactflow-zoom-select {

0 commit comments

Comments
 (0)