Skip to content

Commit 7aaaf02

Browse files
authored
Fixed incorrect css .rct-native-display order to ensure only one checkbox to be shown (#291)
1 parent e707b20 commit 7aaaf02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/less/react-checkbox-tree.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
}
147147
}
148148

149-
.rct-checkbox .rct-native-display {
149+
.rct-native-display .rct-checkbox {
150150
display: none;
151151
}
152152

src/scss/react-checkbox-tree.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ $rct-clickable-focus: rgba($rct-icon-color, .2) !default;
152152
}
153153
}
154154

155-
.rct-checkbox .rct-native-display {
155+
.rct-native-display .rct-checkbox {
156156
display: none;
157157
}
158158

0 commit comments

Comments
 (0)