File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
Frontend/src/components/matching Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,20 @@ const capitalizeFirstLetter = (difficulty) => {
25
25
26
26
const CriteriaDisplay = ( { difficulty, category } ) => {
27
27
return (
28
- < Card className = "mt-3" style = { { width : '20rem' } } >
29
- < Card . Body >
30
- < Card . Title > Selected Criteria</ Card . Title >
31
- < Card . Text >
32
- < span >
33
- Difficulty: < Badge bg = { getBadgeVariant ( difficulty ? difficulty : "Not Selected" ) } > { capitalizeFirstLetter ( difficulty ? difficulty : "Not Selected" ) } </ Badge >
34
- < br > </ br >
35
- Category: < strong > { capitalizeFirstLetter ( category ? category : "Not Selected" ) } </ strong >
36
- </ span >
37
- </ Card . Text >
38
- </ Card . Body >
39
- </ Card >
28
+ < Card className = "mt-3 mx-auto" style = { { maxWidth : '100%' , width : '90%' , minWidth : '200px' } } >
29
+ < Card . Body >
30
+ < Card . Title > Selected Criteria</ Card . Title >
31
+ < Card . Text >
32
+ < span >
33
+ Difficulty: < Badge bg = { getBadgeVariant ( difficulty ? difficulty : "Not Selected" ) } >
34
+ { capitalizeFirstLetter ( difficulty ? difficulty : "Not Selected" ) }
35
+ </ Badge >
36
+ < br />
37
+ Category: < strong > { capitalizeFirstLetter ( category ? category : "Not Selected" ) } </ strong >
38
+ </ span >
39
+ </ Card . Text >
40
+ </ Card . Body >
41
+ </ Card >
40
42
)
41
43
} ;
42
44
You can’t perform that action at this time.
0 commit comments