File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,9 @@ class FilterExample extends React.Component {
163
163
return (
164
164
< div className = "filter-container" >
165
165
< input
166
+ className = "filter-text"
167
+ placeholder = "Search..."
166
168
type = "text"
167
- placeholder = "Search"
168
169
value = { filterText }
169
170
onChange = { this . onFilterChange }
170
171
/>
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ $header-bg-color-secondary: #2c3e50;
3
3
$section-headings-color : #3498db ;
4
4
$rct-color : #444 ;
5
5
$rct-border-color : #ccc ;
6
+ $input-border-color : #ced4da ;
6
7
7
8
@import " ../../../src/scss/react-checkbox-tree" ;
8
9
@import " cayman" ;
@@ -23,3 +24,14 @@ $rct-border-color: #ccc;
23
24
.expand-all-container {
24
25
max-width : 400px ;
25
26
}
27
+
28
+ .filter-container > .filter-text {
29
+ display : block ;
30
+ margin-bottom : .75rem ;
31
+ border : 1px solid $input-border-color ;
32
+ border-radius : .25rem ;
33
+ background-clip : padding-box ;
34
+ padding : .375rem .75rem ;
35
+ line-height : 1.5 ;
36
+ font-size : 1rem ;
37
+ }
You can’t perform that action at this time.
0 commit comments