Skip to content

Commit 01a4e0f

Browse files
committed
Add back in rct-title to prevent breaking change and remove its unnecessary styles
1 parent c238bb8 commit 01a4e0f

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

src/js/TreeNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class TreeNode extends React.Component {
118118
<span className="rct-icon">
119119
{this.renderNodeIcon()}
120120
</span>
121-
<span className="rct-label">
121+
<span className="rct-title">
122122
{label}
123123
</span>
124124
</label>

src/less/react-checkbox-tree.less

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,3 @@
7979
.rct-half-checked {
8080
opacity: .5;
8181
}
82-
83-
.rct-label {
84-
margin-right: 5px;
85-
}

src/sass/react-checkbox-tree.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,3 @@ $rct-label-hover: rgba($rct-icon-color, .1) !default;
7979
.rct-half-checked {
8080
opacity: .5;
8181
}
82-
83-
.rct-label {
84-
margin-right: 5px;
85-
}

0 commit comments

Comments
 (0)