File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747
4848.search-bar {
4949 width : 100% ;
50- padding : 8px 32 px 8px 32px ;
50+ padding : 8px 8 px 8px 32px ;
5151 border : 1px solid # d1d5db ;
5252 border-radius : 4px ;
5353 font-size : 0.875rem ;
@@ -58,26 +58,6 @@ body {
5858 box-shadow : 0 0 0 1px # 3b82f6 ;
5959}
6060
61- .search-clear-btn {
62- position : absolute;
63- right : 8px ;
64- top : 50% ;
65- transform : translateY (-50% );
66- background : none;
67- border : none;
68- color : # 9ca3af ;
69- cursor : pointer;
70- padding : 4px ;
71- display : flex;
72- align-items : center;
73- justify-content : center;
74- border-radius : 50% ;
75- font-size : 0.75rem ;
76- }
77- .search-clear-btn : hover {
78- color : # 374151 ;
79- background-color : # f3f4f6 ;
80- }
8161
8262.actions-section {
8363 display : flex;
Original file line number Diff line number Diff line change 267267 value = { filters [ 0 ] || "" }
268268 onChange = { e => updateFilter ( 0 , e . target . value ) }
269269 />
270- { filters [ 0 ] && (
271- < button
272- className = "search-clear-btn"
273- onClick = { ( ) => updateFilter ( 0 , "" ) }
274- title = "Clear search"
275- >
276- ✕
277- </ button >
278- ) }
279270 </ div >
280271 </ div >
281272 < div className = "actions-section" >
You can’t perform that action at this time.
0 commit comments