Skip to content

Commit de77d1f

Browse files
authored
style: #560 #561 (#562)
* fix: #560 radio text margin * fix: #561 tree and treeSelect checkbox border-radius
1 parent 1e37966 commit de77d1f

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

theme/dt-theme/dark/tree.less

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.ant-tree-checkbox-inner {
55
background-color: #11121C;
66
border-color: #363B59;
7+
border-radius: 2px;
78
}
89
.ant-tree-checkbox-checked .ant-tree-checkbox-inner {
910
background-color: @primaryColor;

theme/dt-theme/default/radio.less

+4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
align-items: center;
55
line-height: 16px;
66
padding-top: 0.4em;
7+
margin-right: 14px;
78
.ant-radio {
89
top: 0;
910
}
11+
span.ant-radio + * {
12+
padding: 0 10px;
13+
}
1014
.ant-radio-disabled {
1115
.ant-radio-inner::after {
1216
background-color: @black_border;

theme/dt-theme/default/tree.less

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
}
2222
.ant-tree-checkbox {
2323
margin: 8px 8px 0 0;
24+
.ant-tree-checkbox-inner {
25+
border-radius: 2px;
26+
}
2427
}
2528
.ant-tree-node-content-wrapper {
2629
line-height: 32px;

theme/dt-theme/default/treeselect.less

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
.ant-select-tree-treenode {
2727
.ant-select-tree-checkbox {
2828
margin: 8px 8px 0 0;
29+
.ant-select-tree-checkbox-inner {
30+
border-radius: 2px;
31+
}
2932
}
3033
}
3134
}

0 commit comments

Comments
 (0)