File tree Expand file tree Collapse file tree 1 file changed +10
-19
lines changed
web/src/components/CasesDisplay Expand file tree Collapse file tree 1 file changed +10
-19
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const Container = styled.div`
1818 ( ) =>
1919 css `
2020 flex-direction: row;
21- gap: calc(4px + (24 - 4) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
21+ gap: calc(4px + (22 - 4) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
2222 `
2323 ) }
2424` ;
@@ -43,15 +43,6 @@ const StyledSearchbar = styled(Searchbar)`
4343 }
4444` ;
4545
46- const StyledDropdownCascader = styled ( DropdownCascader ) `
47- [class*="dropdown-container"] {
48- width: 240px;
49- }
50- [class*="cascader"] {
51- overflow: auto;
52- }
53- ` ;
54-
5546const Search : React . FC = ( ) => {
5647 const { page, order, filter } = useParams ( ) ;
5748 const location = useRootPath ( ) ;
@@ -80,16 +71,8 @@ const Search: React.FC = () => {
8071
8172 return (
8273 < Container >
83- < SearchBarContainer >
84- < StyledSearchbar
85- type = "text"
86- placeholder = "Search By ID"
87- value = { search }
88- onChange = { ( e ) => setSearch ( e . target . value ) }
89- />
90- </ SearchBarContainer >
9174 { items ? (
92- < StyledDropdownCascader
75+ < DropdownCascader
9376 items = { items }
9477 placeholder = { "Select Court" }
9578 onSelect = { ( value ) => {
@@ -101,6 +84,14 @@ const Search: React.FC = () => {
10184 ) : (
10285 < Skeleton width = { 240 } height = { 42 } />
10386 ) }
87+ < SearchBarContainer >
88+ < StyledSearchbar
89+ type = "text"
90+ placeholder = "Search By ID"
91+ value = { search }
92+ onChange = { ( e ) => setSearch ( e . target . value ) }
93+ />
94+ </ SearchBarContainer >
10495 </ Container >
10596 ) ;
10697} ;
You can’t perform that action at this time.
0 commit comments