diff --git a/frontend/src/components/JobMatchAnalysis.tsx b/frontend/src/components/JobMatchAnalysis.tsx
index 8253332..9376e7e 100644
--- a/frontend/src/components/JobMatchAnalysis.tsx
+++ b/frontend/src/components/JobMatchAnalysis.tsx
@@ -63,17 +63,18 @@ const JobMatchScore: React.FC<{ score: number; variant?: 'small' | 'normal'; sx?
return theme.palette.error.main;
};
const suffix = variant === 'small' ? '' : ' Match';
+
return (
@@ -91,40 +92,49 @@ const JobMatchScore: React.FC<{ score: number; variant?: 'small' | 'normal'; sx?
bgcolor: getMatchColor(score),
color: 'white',
fontWeight: 'bold',
+ fontSize: variant === 'small' ? '0.7rem' : '1rem',
}}
/>
-
-
+ {variant !== 'small' && (
-
- {`${Math.round(score)}%`}
-
+
+
+
+ {`${Math.round(score)}%`}
+
+
-
+ )}
);
};
@@ -480,11 +490,12 @@ const JobMatchAnalysis: React.FC = (props: JobAnalysisProps) =
return (
= (props: ResumeInfoProps) => {
return (
= (props: ResumePreview
if (!resume || !candidate || !job) {
return (
-
+
No resume data available.
);
@@ -417,7 +417,7 @@ export const ResumePreview: React.FC = (props: ResumePreview
return (
= () => {
return (
= () => {
maxWidth: '100%',
width: '100%',
flexDirection: 'column',
+ '& .MuiAvatar-root': isMobile
+ ? {
+ width: 32,
+ height: 32,
+ }
+ : {},
+ '& .MuiStepLabel-label': isMobile
+ ? {
+ fontSize: '0.9rem',
+ marginTop: '4px',
+ }
+ : {},
+ '& .MuiSvgIcon-root': isMobile
+ ? {
+ width: '0.9rem',
+ height: '0.9rem',
+ }
+ : {},
}}
>
= () => {
Candidate{!isMobile && ' Selection'}
- {selectedCandidate !== null && !isMobile && (
+ {selectedCandidate !== null && (
= () => {
}}
/>
- Name
+ {!isMobile && Name}
{selectedCandidate?.fullName}
@@ -548,7 +567,7 @@ const JobAnalysisPage: React.FC = () => {
}}
>
Job{!isMobile && ' Selection'}
- {selectedJob !== null && !isMobile && (
+ {selectedJob !== null && (
= () => {
}}
>
- Company
+ {!isMobile && Company}
{selectedJob.company}
- Title
+ {!isMobile && Title}
{selectedJob.title}
@@ -600,13 +619,17 @@ const JobAnalysisPage: React.FC = () => {
'& :first-of-type': {
whiteSpace: 'nowrap',
},
+ m: 0,
+ p: 0,
}}
>
{!isMobile && 'Job '}Analysis
{analysisState.analysis !== null && (
-
-
-
+
)}
@@ -647,46 +670,6 @@ const JobAnalysisPage: React.FC = () => {
- {isMobile && (
-
- {selectedCandidate !== null && (
-
-
- {selectedCandidate?.fullName}
-
- )}
- {selectedJob !== null && (
-
- {selectedJob.title}
- {selectedJob.company}
-
- )}
-
- )}
= () => {
{activeStep === 3 && renderResume()}
-
+