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 {
163163 return (
164164 < div className = "filter-container" >
165165 < input
166+ className = "filter-text"
167+ placeholder = "Search..."
166168 type = "text"
167- placeholder = "Search"
168169 value = { filterText }
169170 onChange = { this . onFilterChange }
170171 />
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ $header-bg-color-secondary: #2c3e50;
33$section-headings-color : #3498db ;
44$rct-color : #444 ;
55$rct-border-color : #ccc ;
6+ $input-border-color : #ced4da ;
67
78@import " ../../../src/scss/react-checkbox-tree" ;
89@import " cayman" ;
@@ -23,3 +24,14 @@ $rct-border-color: #ccc;
2324.expand-all-container {
2425 max-width : 400px ;
2526}
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