Skip to content

Commit dc64465

Browse files
committed
Rename rct-title to rct-label
1 parent 057e045 commit dc64465

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
* Drop support for Less.js styles
2121
* The `iconsClass` property now defaults to `"fa5"` for Font Awesome 5/6 instead of Font Awesome 4
22-
* The `rct-options` and `rct-option` CSS classes are now `rct-actions` and `rct-action`
22+
* The `rct-options` and `rct-option` CSS classes are now `rct-actions` and `rct-action` respectively
23+
* The `rct-title` CSS class is now `rct-label`
2324

2425
### New Features
2526

src/js/components/TreeNode.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class TreeNode extends React.PureComponent {
241241
{showNodeIcon && (
242242
<NodeIcon expanded={expanded} icon={icon} isLeaf={isLeaf} />
243243
)}
244-
<span className="rct-title">{label}</span>
244+
<span className="rct-label">{label}</span>
245245
</>
246246
);
247247

src/scss/react-checkbox-tree.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ $rct-outline-offset: -2px !default;
214214
color: $rct-icon-color;
215215
}
216216

217-
.rct-title {
217+
.rct-label {
218218
padding: 0 5px;
219219
}
220220

0 commit comments

Comments
 (0)