@@ -42,13 +42,13 @@ const AICandidatesAnalysis = ({ analysis, onClose, sx }) => {
4242 return (
4343 < >
4444 < Card variant = 'outlined' sx = { sx } >
45- < CardContent sx = { { padding : '8px !important' } } >
46- < div style = { { display : 'flex' , justifyContent : 'space-between' , alignItems : 'center' , marginTop : '-6px ' } } >
45+ < CardContent sx = { { padding : '4px !important' } } >
46+ < div style = { { display : 'flex' , justifyContent : 'space-between' , alignItems : 'center' , marginTop : '-4px ' } } >
4747 < Typography gutterBottom sx = { { color : 'text.secondary' , fontSize : 13 , mb : 0 } } component = 'span' >
4848 { t ( 'map_project.ocl_ai_candidates_analysis' ) }
4949 </ Typography >
50- < IconButton onClick = { onClose } size = 'small' color = 'secondary' >
51- < CloseIcon fontSize = 'small' />
50+ < IconButton onClick = { onClose } size = 'small' color = 'secondary' sx = { { padding : '4px' } } >
51+ < CloseIcon sx = { { fontSize : '1rem' } } />
5252 </ IconButton >
5353 </ div >
5454 {
@@ -68,7 +68,7 @@ const AICandidatesAnalysis = ({ analysis, onClose, sx }) => {
6868 isAdminUser ( ) &&
6969 < Tooltip title = { t ( 'map_project.view_raw_json' ) } placement = 'right' >
7070 < span >
71- < IconButton color = 'primary' size = 'small' disabled = { ! analysis } sx = { { padding : 0 , marginLeft : '4px' , marginTop : '-2px' } } onClick = { ( ) => setOpenDetails ( ! openDetails ) } >
71+ < IconButton color = 'primary' size = 'small' disabled = { ! analysis } sx = { { padding : '4px' , marginLeft : '4px' , marginTop : '-2px' } } onClick = { ( ) => setOpenDetails ( ! openDetails ) } >
7272 < DataObjectIcon fontSize = 'inherit' />
7373 </ IconButton >
7474 </ span >
0 commit comments