Skip to content

Commit f9c13fb

Browse files
author
昔梦
committed
fix:去除全选边框
1 parent 4175511 commit f9c13fb

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

packages/x-flow/src/index.less

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,25 @@
33
width: 100%;
44
background: #F0F2F7;
55
position: relative;
6-
76
.react-flow__attribution {
87
display: none;
98
}
10-
}
9+
10+
// 移除框选时画布边框的蓝色
11+
.react-flow__selection {
12+
border: none !important;
13+
outline: none !important;
14+
}
15+
16+
// 移除框选矩形区域的边框
17+
// .react-flow__nodesselection-rect {
18+
// border: none !important;
19+
// outline: none !important;
20+
// }
21+
22+
// 移除焦点时的蓝色边框
23+
&:focus {
24+
outline: none !important;
25+
border: none !important;
26+
}
27+
}

0 commit comments

Comments
 (0)