File tree Expand file tree Collapse file tree 2 files changed +15
-54
lines changed
Expand file tree Collapse file tree 2 files changed +15
-54
lines changed Original file line number Diff line number Diff line change 192192 border-radius : 7px ;
193193}
194194
195- .opportunity-card p {
196- font-size : 14px ;
197- }
198195
199196.opportunity-card : hover {
200197 background-color : # 4a5164 ;
201198 cursor : pointer;
202199}
203-
204- .opportunity-card span {
205- color : aqua;
206- }
207-
208- .opportunity-details p {
209- font-size : 14px ;
210-
211- }
Original file line number Diff line number Diff line change @@ -53,60 +53,33 @@ const PopupResults = (props) => {
5353 onClick = { ( ) => handleCardClick ( feature . links [ 0 ] ) }
5454 key = { inx }
5555 >
56- < div >
57- < p >
58- ID: < span > { feature . id } </ span >
59- </ p >
60-
56+ < Box display = "flex" flexDirection = "column" >
57+ < Typography variant = "caption" >
58+ ID: { feature . id }
59+ </ Typography >
60+
6161 { Object . keys ( feature . properties ) . map ( ( key ) => {
6262 if ( key === 'datetime' ) {
6363 const dateArray = feature . properties [ key ] . split ( '/' )
6464 return (
6565 < >
66- < Box
67- key = { key }
68- display = "flex"
69- flexDirection = "row"
70- alignItems = "center"
71- gap = { 2 }
72- >
73- < p > Start:</ p >
74- < Typography variant = "caption" >
75- { dateArray [ 0 ] }
76- </ Typography >
77- </ Box >
66+ < Typography variant = "caption" >
67+ Start: { dateArray [ 0 ] }
68+ </ Typography >
7869
79- < Box
80- key = { key }
81- display = "flex"
82- flexDirection = "row"
83- alignItems = "center"
84- gap = { 2 }
85- >
86- < p > End:</ p >
87- < Typography variant = "caption" >
88- { dateArray [ 1 ] }
89- </ Typography >
90- </ Box >
70+ < Typography variant = "caption" >
71+ End: { dateArray [ 1 ] }
72+ </ Typography >
9173 </ >
9274 )
9375 }
9476 return (
95- < Box
96- key = { key }
97- display = "flex"
98- flexDirection = "row"
99- alignItems = "center"
100- gap = { 2 }
101- >
102- < p > { key } :</ p >
103- < Typography variant = "caption" >
104- { feature . properties [ key ] }
105- </ Typography >
106- </ Box >
77+ < Typography variant = "caption" key = { key } >
78+ { key } : { feature . properties [ key ] }
79+ </ Typography >
10780 )
10881 } ) }
109- </ div >
82+ </ Box >
11083 </ div >
11184 )
11285 } ) }
You can’t perform that action at this time.
0 commit comments